@import url(http://fonts.googleapis.com/css?family=Cinzel:400,700|Lusitana:400,700);

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Custom styles
   ========================================================================== */

body {
    background-color: #000;
    font-family: 'Lusitana', Georgia, serif;
    color: #fff;
}

.container {
    margin: 0 auto;
    max-width: 1080px;
}

#breadcrumb-wrapper {
    background-color: rgba(94, 0, 0, 0.6);
}

#header-wrapper {
    background: url(/img/bg-header.jpg) #000 center -5px no-repeat;
    background-size: 100% auto;
    text-align: center;
}

a {
    color: #fff;
}

h1 {
    color: #fff;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 3.5em;
    font-weight: 400;
    margin-top: 0.25em;
    margin-bottom: 0;
}

h1 span.tagline {
    font-family: 'Lusitana', Georgia, serif;
    font-size: 16px;
    font-weight: normal;
    display: block;
    line-height: 22px; 
    margin-bottom: 22px;
    text-transform: inherit;
}

h2 {
    color: #fff;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 2.5em;
    font-weight: 400;
    margin-bottom: 0;
}

#breadcrumb {
    color: #fff;
    font-size: 0.85em;
    padding: 0.5em 0;
    text-align: left;
}

nav {
    text-align: center;
    padding: 0.75em 0;
}

nav ul {
    padding-left: 0;
    margin: 0;
}

nav ul li {
    font-family: 'Cinzel', Georgia, serif;
    display: inline;
    padding-right: 100px;
    text-transform: lowercase;
}

nav ul li:last-child {
    padding-right: 0;
}

nav ul li a {
    text-decoration: none;
}

#introduction-wrapper {
    background: url(/img/bg-introduction-128436v.jpg) #ded6bf bottom center no-repeat;
    background-size: 100% auto;
    padding: 2em 0 2.5em;
}

#introduction p {
    color: #000;
    padding: 1.5em 9em 1em;
    line-height: 28px;
    text-indent: 2.5em;
    text-shadow: 0px 0px 10px #fff;
}

#video-wrapper {
    margin: 0 auto;
    text-align: center;
    width: 853px;
}

#video-wrapper a {
    text-decoration: none;
}

.videotoggle {
    background:rgba(30,32,30,0.8);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Cinzel', Georgia, serif;
    margin: 3em auto 1.5em;
    padding: 0.5em;
    text-transform: lowercase;
    width: 250px;
}

.videodisplay {
    display: none;
    margin: 3em 0 1em;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videodisplay iframe {
    -webkit-box-shadow: 0px 6px 16px 6px rgba(79,75,66,1);
    -moz-box-shadow: 0px 6px 16px 6px rgba(79,75,66,1);
    box-shadow: 0px 6px 16px 6px rgba(79,75,66,1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#atlases-wrapper {
    background: url(/img/bg-atlases-g1059.jpg) #000 center top no-repeat;
    background-size: 100% auto;
    color: #fff;
    padding: 2em 0;
}

#atlases-wrapper h2 {
    margin: 5px 0 25px;
    text-align: center;
}

#atlases {
    background: url(/img/bg-timeline.png) transparent center 50px no-repeat;
    position: relative;
}

#atlases a {
    text-decoration: none;
}

.atlas-description {
    width: 400px;
}

.atlas-text {
    width: 250px;
}

.atlas-description h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1em;
    font-weight: normal;
    margin: 0 0 0.2em 41px;
}

.atlas-description h4 {
    border-bottom: 1px solid #d74747;
    font-size: 0.9em;
    font-weight: normal;
    margin: 0;
    padding-bottom: 0.5em;
}

.atlas-description p {
    font-size: 0.75em;
}

.atlas-description img {
    border-radius: 50%;
    height: 135px;
    width: 135px;
}

.atlas-description.imgleft .atlas-text {
    float: right;
}

.atlas-description.imgleft img {
    float: left;
    margin-right: 0.75em;
}

.atlas-description.imgright img {
    float: right;
    margin-left: 0.75em;
}

#waghenaer {
    margin-left: 20px;
}

#blaeu {
    margin-right: 50px;
    margin-top: 90px;
}

#colom {
    margin-left: 50px;
    margin-top: 80px;
}

#dudley {
    margin-top: 50px;
}

#dewit {
    margin-top: 25px;
}

#goos {
    margin-right: 50px;
    margin-top: 75px;
}

#vankeulen {
    margin-left: 30px;
    margin-top: 250px;
}

#renard {
    margin-right: 30px;
    margin-top: 200px;
}

#acknowledgments {
    padding-bottom: 2em;
}

#acknowledgments h2 {
    text-align: center;
}

#acknowledgments p {
    font-size: 0.95em;
    line-height: 1.7em;
    padding: 1em 9em;
}

footer {
    border-top: 1px solid #d74747;
    color: #fff;
    font-size: 0.75em;
}

footer div {
    padding: 0.5em 0 0.75em;
}

footer #copyright {
    text-align: center;
}

footer #contact {
    float: right;
}








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Basic positioning:
 */

.left {
    float: left;
}

.right {
    float: right;
}

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
    Media Queries for Responsive Design
   ========================================================================== */

@media only screen and (max-width: 480px) {
    /* Style adjustments for viewports that meet the condition */

    .container {
        width: 90%;
    }

    #header-wrapper {
        background-size: auto 100%;
    }

    nav ul li {
        display: block;
        padding-bottom: 0.75em;
        padding-right: 0 !important;
    }

    #introduction-wrapper {
        background-size: auto 100%;
    }

    #introduction p {
        padding: 0;
    }

    #video-wrapper {
        width: 100%;
    }

    #atlases-wrapper {
        background-size: auto 100%;
    }

    #atlases {
        background-image: none;
    }

    .atlas-description {
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }

    .atlas-description p {
        font-size: 0.85em;
    }

    .atlas-text {
        width: 100%;
    }

    .atlas-description.imgleft img, .atlas-description.imgright img {
        display: block;
        float: none;
        margin: 0 auto 15px;
    }

    .atlas-description.left, .atlas-description.right {
        display: block;
        float: none;
    }

    #waghenaer, #blaeu, #colom, #dudley, #dewit, #goos, #vankeulen, #renard {
        margin: 10px 0 0 0;
    }

    footer {
        font-size: 0.65em;
        text-align: center;
    }

    footer #copyright {
        display: block;
        float: none;
    }

    footer #contact {
        float: none;
    }

}

@media only screen and (max-width: 768px) {

    #header-wrapper {
        background-size: auto 100%;
    }

    nav ul li {
        padding-bottom: 0.85em;
        padding-right: 50px;
    }

    #introduction-wrapper {
        background-size: auto 100%;
    }

    #introduction p {
        padding: 0;
    }

    #video-wrapper {
        width: 100%;
    }

    #atlases-wrapper {
        background-size: auto 100%;
    }

    #atlases {
        background-image: none;
    }

    #waghenaer, #blaeu, #colom, #dudley, #dewit, #goos, #vankeulen, #renard {
        margin: 10px 0 0 0;
    }

}

@media only screen and (max-width: 1024px) {

    #header-wrapper {
        background-size: auto 100%;
    }

    #introduction p {
        padding: 1.5em 3em 1em;
    }

    #atlases-wrapper {
        background-size: auto 100%;
    }

    #atlases {
        background-image: none;
    }

    #waghenaer, #blaeu, #colom, #dudley, #dewit, #goos, #vankeulen, #renard {
        margin: 10px 0 0 0;
    }

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
