@charset "UTF-8";

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: rgb(240, 239, 239);
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#site {
    margin: 0 auto;
    max-width: 1300px;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: white;
}

#Content {
    padding: 20px;
    text-align: center;
    flex: 1;
    background-color: white;
}

/* HEADER STYLE */

.site-header-title-container {
    padding: 20px 50px;
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    background-color: #004e8a;
    color: white;
    height: 100px;
}

.site-header-title {
    font-size: 85px;
    margin: 0;
    color: white;
    text-decoration: none;
    width: fit-content;
}

.home-link {
    color: white;
    text-decoration: none;
    float: left;
}

.home-link:visited {
    color: white;
    text-decoration: none;
}

.site-header-description {
    font-size: 26px;
    margin: 25px 0 0 20px;
    /* max-width: 360px; */
    max-width: 480px;
}

#site_header_logo_div {
    z-index: 3;
    margin: -20px -30px 0 0;
}

#header_image_description {
    font-size: 30px;
    color: white;
    margin: -15px 0 0 60px;
}

#header_image_date {
    font-size: 40px;
    font-weight: bold;
}

.header_image_container {
    height: 450px;
    position: relative;
}

#header_image_container_0 {
    display: block;
}

#header_image_container_1 {
    display: none;
}

#header_image_container_2 {
    display: none;
}

.picture_nav_button {
    position: relative;
    font-size: xxx-large;
    bottom: 220px;
    border: none;
    padding: 0 5px;
    color: white;
    background-color: #3338;
    cursor: pointer;
}

.picture_nav_button:active {
    background-color: #333e;
}

#prev_picture_button {
    left: 10px;
}

#next_picture_button {
    float: right;
    right: 10px;
}

#header_image_subtitle_parent {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    margin: -165px 0 0 10px;
}

#header_image_subtitle {
    color: white;
    margin: -95px 0 0 10px;
    z-index: 3;
    position: relative;
    font-size: 25px;
    font-weight: bold;
    width: fit-content;
    text-shadow: 2px 2px 5px black;
}

.header_image_credit {
    position: absolute;
    bottom: 5px;
    right: 5px;

    writing-mode: vertical-rl; 
    transform: rotate(180deg); 

    font-size: 0.8rem;
    opacity: 0.8;
    text-align: right;
    white-space: nowrap;
    background: black;
    color: white;
    padding: 5px 0;
}


/* NAVIGATION */

.nav-main-level {
    list-style: none;
    margin: 0;
    padding: 15px 30px 15px 30px;
    background-color: rgb(155, 154, 154);
}

.nav-main-level li {
    width: fit-content;
    display: inline;
    font-size: 30px;
    font-weight: bold;
    margin: 10px;
    color: white;
}

.nav-main-level a {
    text-decoration: none;
    color: white;
}

.nav-main-level a:visited {
    text-decoration: none;
    color: white;
}

/* FOOTER */

#site-footer {
    /* position: absolute;
    bottom: 0; */
    width: 100%;
}

#footer_div {
    background-color: #004E8A;
    text-align: center;
}

.footer_link {
    font-size: 25px;
    padding: 20px 10px;
}

.footer_link a {
    color: white;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.footer_link a:hover,
.footer_link a:active,
.footer_link a:focus {
  text-decoration: underline; /* underline only on hover/click/focus */
}

/* TOP BUTTON */

#btn-top {
    bottom: 1vh;
    width: 100%;
    position: fixed;
}

#btn-top_wrapper {
    padding-bottom: 2.4rem;
    overflow: hidden;
    position: relative;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

#btn-top_link {
    border: 2px solid white;
    font-size: 1.5rem;
    padding: .1rem .15rem .1rem;
    right: .75rem;
    background-color: #004E8A;
    color: white;
    text-align: center;
    position: absolute;
    display: inline-block;
    transition: all 150ms ease-in-out;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    margin: -1px;
}

.icon {
    display: inline-block;
    vertical-align: baseline;
    height: 1.2em;
    width: 1.2em;
}

/* GENERAL CONTENT */

.o-layout--huge {
    display: grid;
    grid-template-columns: 25% 70%
}

.o-layout__item {
    grid-column: 1 / span 2;
}

.layout_left_column {
    grid-column: 1;
}

.layout_right_column {
    grid-column: 2;
}

.layout_left_column {

    .frame-type-text {
        width: fit-content;
    }

}


.frame-type-text {
    text-align: justify;
    max-width: 800px;
    margin: auto;
    padding: 0 5px 0 5px;
}

.frame-type-header {
    text-align: left;
    max-width: 800px;
    margin: auto;
}
 
.frame-type-image {
    max-width: 800px;
    margin: auto;
}

.frame-type-div {
    max-width: 800px;
    margin: auto;
}

.ce-gallery figure {
    margin-bottom: 20px;
}

.ce-gallery img {
    max-width: 800px;
    height: auto;
}

.link {
    color: #004E8A;
    text-decoration: none;
    font-weight: bold;
}

.link:hover, .link:active, .link:focus {
    text-decoration: underline;
    color: #01345c;
}


@media (max-width: 1300px) {

    .site-header-title-container {
        grid-template-columns: 1fr;
        grid-template-rows: 85px 1fr;
        padding: 20px;
        height: 140px;
    }

    .site_header_title {
        font-size: 10vw;
    }

    .site-header-description {
        grid-row: 2;
        margin: auto 0 15px 5px;
        max-width: 675px;
        font-size: 28px;
    }

    #site_header_logo_div {
        grid-column: 2;
    }

    #site_header_logo {
        width: 120px;
    }

    .header_image_container {
        height: 400px;
    }

    #header_image_description {
        font-size: 25px;
        margin: -10px 0 0 25px;
    }

    #header_image_date {
        font-size: 30px;
    }

    .layout_left_column {
        grid-column: 1 / span 2;
    }

    .layout_right_column {
        grid-column: 1 / span 2;
    }

    .layout_left_column {

        .frame-type-text {
            width: auto;
        }

    }

}

@media (max-width: 800px) {

    #Content {
        padding: 10px;
    }

    .site-header-title {
        font-size: 60px;
    }

    .site-header-title-container {
        padding: 5px 5px 0 5px;
        grid-template-rows: max-content max-content;
        height: 130px;
    }

    .site-header-description {
        font-size: 25px;
    }

    #header_image_description {
        font-size: 25px;
        margin: 0px 0 0 10px;
    }

    #header_image_date {
        margin: -15px 0 0 0px;
        font-size: 30px;
    }

    #header_image_location {
        margin: 0px 0 0 20px;
        font-size: 5vw;
    }

    .nav-main-level {
        padding: 10px 0 10px 0;
    }

    .nav-main-level li {
        font-size: 4vw;
    }

    .ce-gallery img {
        max-width: 80vw;
    }


}

@media (max-width: 500px) {

    .site-header-title-container {
        height: fit-content;
    }

    .site-header-title {
        font-size: 50px;
    }

    .site-header-description {
        margin: 0;
    }

}

@media (min-width: 1300px) {

    #btn-top_wrapper {
        margin: 0 auto;
        max-width: 1300px;
    }

    #site-footer {
        width: 1300px;
    }

}