/*
 * Ported from the legacy site's style2.css - only the classes that still apply to this
 * Bootstrap-5-based rewrite (the old table-layout/IE-only rules are dropped). Same accent
 * colors, fonts and hero treatment as nausikaa.dk itself.
 */

body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* Legacy site's link style: plain black, underline only on hover. */
a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #000000;
    text-decoration: underline;
}

h1, h2, h3, .h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    color: #000000;
}

h1 {
    font-size: 26px;
    padding-top: 15px;
    padding-bottom: 10px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 14px;
}

.header-separator {
    position: relative;
    width: 50px;
    height: 3px;
    background-color: #996666;
    margin-bottom: 16px;
}

.logo {
    width: 100%;
    max-width: 180px;
}

.headline {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #993333;
}

.contenttext {
    border-top: 1px solid #cccccc;
    padding-top: 10px;
    padding-bottom: 15px;
}

.contentdate {
    text-align: right;
}

.nav-button {
    display: inline-block;
    padding: 5px 15px;
    background-color: transparent;
    border: 2px solid #993333;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #993333;
    margin-right: 15px;
    font-family: 'Exo 2', sans-serif;
    text-align: center;
    text-decoration: none;
}

.nav-button:hover {
    color: #000000;
}

.icon {
    border: 1px solid #000000;
}

.thumbPic {
    border: 1px solid #999999;
    width: 295px;
}

.thumbSpan {
    margin-right: 10px;
    float: left;
    text-align: right;
}

/* Top bar - light grey, same as the legacy site's menu tables */
.nav-topbar {
    background-color: #f8f8f8;
}

/* Primary buttons - the legacy site never used blue; its INPUT.button was a plain
   silver/grey button with bold black text, so btn-primary is overridden to match
   instead of touching every individual page that uses it. */
.btn-primary {
    color: #000000;
    background-color: #e2e2e2;
    border-color: #adadad;
    font-weight: bold;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #000000;
    background-color: #cfcfcf;
    border-color: #8c8c8c;
}

.btn-primary:active,
.btn-primary.active {
    color: #000000 !important;
    background-color: #c0c0c0 !important;
    border-color: #8c8c8c !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(173, 173, 173, 0.5);
}

/* Footer - dark bar, mint text, same as the legacy site */
footer.site-footer {
    background-color: #333333;
    color: #d1f5ea;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 15px 0;
}

footer.site-footer a {
    color: #d1f5ea;
    text-decoration: underline;
}

/* Home page hero - the position summary overlaid on a full-width photo of the boat */
@media (min-width: 501px) {
    .frontslider {
        margin-top: 56px;
        background-image: url('/images/nausikaa1_wide.jpg');
        background-position: center;
        background-size: cover;
        width: 100%;
        height: 700px;
        border-bottom: solid 3px #993333;
    }
}

@media (max-width: 500px) {
    .frontslider {
        margin-top: 56px;
        background-image: url('/images/nausikaa1_mobile.jpg');
        background-position: center;
        background-size: cover;
        width: 100%;
        height: 550px;
        border-bottom: solid 3px #993333;
    }
}

.position {
    font-family: 'Exo 2', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    color: #ffffff;
    font-weight: 400;
}

@media (max-width: 500px) {
    .position { padding-top: 50px; font-size: 14px; }
    .pos-md { font-size: 18px; }
    .pos-lg { font-size: 24px; font-weight: 600; }
    .pos-br-lg { display: none; }
}

@media (min-width: 501px) {
    .position { padding-top: 100px; font-size: 18px; }
    .pos-md { font-size: 24px; }
    .pos-lg { font-size: 30px; font-weight: 600; }
    .pos-br-lg { display: inline; }
}

.slider-button {
    display: inline-block;
    padding: 8px 25px;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 10px;
    margin-right: 20px;
    font-family: 'Exo 2', sans-serif;
    text-align: center;
    text-decoration: none;
}

.slider-button:hover {
    background-color: #ffffff;
    color: #aaaaaa;
    text-decoration: none;
}

.sliderfooter {
    margin-top: -52px;
    background-color: #ffffff;
    opacity: 0.4;
    height: 50px;
}

.sliderheader {
    font-family: 'Exo 2', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    font-weight: 600;
    font-size: 24px;
    margin-top: -43px;
    color: #ffffff;
    position: relative;
}

@media (min-width: 501px) {
    .sliderheader {
        font-size: 30px;
        margin-top: -47px;
    }
}
