@charset "UTF-8";
/* Swiss Pro Map Store — Design based on swissProMap.css */

@font-face {
    font-family: Oswald;
    src: url("fonts/Oswald/Oswald-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Oswald;
    src: url("fonts/Oswald/Oswald-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

:root {
    --darktextcolor: #000000;
    --lighttextcolor: #ffffff;
    --textcolor: #000000;
    --invtextcolor: #ffffff;
    --backgroundcolor: #b2b2b2;
    --elementcolor: #dddddd;
    --separatorcolor: #e9e9e9;
    --linkcolor: #4677a9;
    --iglinkcolor: #13a51f;
    --igbuttoncolor: #13a51f;
    --highlightcolor: #ffffff;
    --signalcolor: #970E53;
    --greensignal: #99f083;
    --dimmsignalcolor: #2e2e2e;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: Helvetica, Arial, sans-serif;
    color: var(--textcolor);
    padding: 0;
    margin: 0;
    background-color: var(--backgroundcolor);
    font-size: 16px;
    line-height: 1.6;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--linkcolor);
}

.igartenlink {
    color: var(--iglinkcolor) !important;
}

.igartenbutton {
    background: var(--igbuttoncolor) !important;
}

a:hover {
    cursor: pointer;
    color: var(--linkcolor);
}

.bluelink {
    color: var(--linkcolor) !important;
}

section h1, section h2, section h3, section h4 {
    color: var(--textcolor);
    font-weight: bold;
    font-family: Oswald;
    line-height: 1.2;
}

p {
    margin: 0 0 14px;
}

ul {
    padding-left: 20px;
    margin: 0 0 14px;
}

li {
    /* margin-bottom: 6px; */
    line-height: 1.4;
    font-size: 0.85em;

}

/* ===================================================================
   HEADER
   =================================================================== */

.header {
    position: fixed;
    width: 100%;
    z-index: 3;
    display: flex;
    background-color: var(--highlightcolor);
    height: 40px;
    align-items: center;

}

#scrolling-div {
    height: 40px;

}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: var(--highlightcolor);
}

.header li a {
    display: block;
    padding: 15px 20px;
    border-left: 1px solid var(--separatorcolor);
    text-decoration: none;
    font-size: 0.7em;
    height: 10px;
    color: var(--textcolor);
}

.header li a:hover {
    background-color: var(--signalcolor);
    color: var(--invtextcolor);
}

.header .logo {
    float: left;
    text-decoration: none;
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height 0.2s ease-out;
}

.here {
    background-color: var(--signalcolor);
}

.here a {
    color: var(--invtextcolor) !important;
}

.header .language {
    background-color: var(--elementcolor);
}

.activelanguage {
    font-weight: bold;
    background-color: var(--dimmsignalcolor) !important;
    color: var(--invtextcolor) !important;
    
}

.activelanguage a {
    font-weight: bold;
    color: var(--invtextcolor) !important;
    background-color: var(--dimmsignalcolor) !important;
}

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    padding: 19px;
    position: absolute;
    -webkit-user-select: none;
    right: 7px;
}

.header .menu-icon .navicon {
    background: var(--textcolor);
    display: block;
    height: 2px;
    position: relative;
    transition: background 0.2s ease-out;
    width: 22px;
}

.header .menu-icon .navicon::before,
.header .menu-icon .navicon::after {
    background: var(--textcolor);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: 0.2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon::before { top: 5px; }
.header .menu-icon .navicon::after  { top: -5px; }

.header .menu-btn { display: none; }

.logoimage {
    background-image: url("images/logoschrift.png");
    width: 223px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.iglogoimage {
    background-image: url("images/igartenicon.png");
    width: 150px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

/* ===================================================================
   CONTENT & SECTIONS
   =================================================================== */

.content {
    flex: 1;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
}

.centered-section {
    flex: 1;
    align-items: center;
}

section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 18px;
}

.linebreaktitle {
    width: 100%;
    padding: 18px 18px 14px 50px;
    color: var(--textcolor);
    background-color: var(--highlightcolor);
}

.linebreaktitle h2 {
    font-family: Oswald;
    font-size: 1.6em;
    margin: 0 0 4px;
}

.linebreaktitle p {
    font-size: 0.75em;
    margin: 0;
    opacity: 0.8;
}

.box {
    margin: 12px;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.footer {
    font-size: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--highlightcolor);
    padding: 12px 0 6px;
    width: 100%;
}

.footer p {
    padding: 1px 12px;
    margin-bottom: 1px;
}

/* ===================================================================
   STORE-SPECIFIC STYLES
   =================================================================== */

.store-box {
    width: 100%;
    max-width: 620px;
    background-color: var(--backgroundcolor);
    border-radius: 6px;

}

.store-card {
    background: var(--elementcolor);
    padding: 24px 30px 8px;
    width: 100%;

}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ffffff;

}

.price-label {
    font-family: Oswald;
    font-size: 1em;
    opacity: 0.6;
}

.price-amount {
    font-family: Oswald;
    font-size: 2.2em;
    font-weight: bold;
}

#currency-select {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.85em;
    color: var(--textcolor);
    background-color: var(--highlightcolor);
    border: 1px solid var(--separatorcolor);
    padding: 4px 8px;
    cursor: pointer;
    appearance: auto;
    margin-left: auto;
    align-self: center;
}

.info-box {
    background-color: var(--highlightcolor);
    /* border-left: 3px solid var(--signalcolor); */
    padding: 14px 18px;
    margin-bottom: 20px;

}

.info-box h3 {
    font-family: Oswald;
    font-size: 0.85em;
    margin: 0 0 8px;
    font-weight: bold;
}

.info-box ul {
    margin: 0;
    padding-left: 18px;
}

.info-box li {
    font-size: 0.82em;
    margin-bottom: 5px;
}

.store-cta {
    text-align: center;
    margin: 20px 0 14px;
}

.btn-store,
.buttonlink {
    display: inline-block;
    padding: 14px 36px;
    background: rgb(45, 113, 158);
    color: var(--lighttextcolor);
    border: none;
    font-family: Oswald;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 200ms ease;
    letter-spacing: 0.03em;
}

p:has(.buttonlink) {
    text-align: center;
}

.btn-store:hover,
.buttonlink:hover {
    background: rgb(33, 88, 124);
}

.text-center { text-align: center; }

.text-small {
    font-size: 0.78em;
    opacity: 0.65;
}

.mt { margin-top: 14px; }

.waiting-icon {
    margin-top: 24px;
    font-size: 2.5em;
    text-align: center;
}

.pdf {
    margin: 16px 0;
    padding: 18px;
    background: var(--highlightcolor);
    /* border-left: 3px solid var(--linkcolor); */
    font-size: 0.9em;

}

img.pdf-logo {
    display: none;
}

.bigcode {
    font-family: Oswald;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--linkcolor);
    word-break: break-all;
    text-align: center;
    margin: 20px 0;

}

.pdf-section-title {
    margin: 20px 0 8px;
}

.pdf-cta {
    text-align: center;
    margin: 12px 0 20px;
}

.pdf-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid var(--separatorcolor);
}

#qrcode {
    width: fit-content;
    margin: 8px auto 20px;
    text-align: center;
    background: #ffffff;
    padding: 18px;
}

/* ===================================================================
   UTILITY
   =================================================================== */

.hidden {
    display: none !important;
}

#error {
    background-color: var(--signalcolor);
    color: var(--lighttextcolor);
    position: fixed;
    top: 50px;
    right: 20px;
    padding: 16px 24px;
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 8px;
    display: none;
    z-index: 9999;
    max-width: 420px;
    font-size: 0.88em;
    line-height: 1.4;
}

#error.show {
    display: block;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (min-width: 768px) {
    .header .menu {
        clear: none;
        max-height: none;
        margin-left: auto;
        height: 100%;
        display: flex;
        align-items: stretch;
    }

    .header li {
        display: flex;
        align-items: stretch;
    }

    .header li a {
        display: flex;
        align-items: center;
        height: auto;
        padding: 0 16px;
    }

    .header .menu-icon { display: none; }

    #menu-btn { display: none; }
}

/* @media (min-width: 768px) and (max-width: 1020px) {
    .header li a {
        padding: 15px 10px;
        font-size: 0.65em;
    }
} */

@media screen and (max-width: 550px) {
    .header li a {
        padding: 19px 20px 29px 19px;
        font-size: 1.15em;
        border-left: 0;
        border-bottom: 1px solid var(--separatorcolor);
    }

    .menu { display: inline-block; }

    .header .menu-btn:checked ~ .menu {
        max-height: 550px;
        top: 40px;
        right: 0;
        position: absolute;
    }

    .header .menu-btn:checked ~ .menu-icon .navicon { background: none; }
    .header .menu-btn:checked ~ .menu-icon .navicon::before { transform: rotate(-45deg); }
    .header .menu-btn:checked ~ .menu-icon .navicon::after  { transform: rotate(45deg); }

    .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon::before,
    .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon::after {
        top: 0;
    }

    .linebreaktitle { padding: 12px 14px; }

    .box {
        width: 100%;
        margin: 0;
    }

    .store-box { max-width: 100%; }

    .store-card { padding: 16px 14px 8px; }

    .price-display {
        flex-wrap: wrap;
        align-items: center;
    }

    #currency-select {
        flex-basis: 100%;
        margin-left: 0;
    }

    .btn-store {
        display: block;
        width: 100%;
        text-align: center;
    }

    section {
       margin-left: 9px;
       margin-right: 9px;
    }
}

@media print {
    @page {
        size: A4;
        margin: 0; 
    }
    body {
        padding: 2cm;
        margin: 0;
        font-size: 11pt;
        line-height: 1.4;
    }
    img.pdf-logo {
        display: block;
        height: 31px;
        width: 175px;
        margin-bottom: 20px;
    }
    a, a:visited {
        color: #000000;
        text-decoration: none;
    }
    p {
        margin-bottom: 6px;
    }
    .pdf-section-title {
        margin: 10px 0 4px;
    }
    .pdf-cta {
        margin: 6px 0 10px;
    }
    .pdf-cta a {
        color: var(--iglinkcolor) !important;
    }
    .pdf-divider {
        margin: 10px 0;
    }
    .bigcode {
        font-size: 1em;
        margin: 8px 0;
    }
    #qrcode {
        padding: 8px;
        margin: 4px auto 10px;
    }
    #qrcode canvas, #qrcode img {
        max-width: 100px !important;
        max-height: 100px !important;
        width: 100px !important;
        height: 100px !important;
    }
}

/* ===================================================================
   DARK MODE
   =================================================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --textcolor: #ececec;
        --invtextcolor: #ffffff;
        --backgroundcolor: #303030;
        --elementcolor: #3a3a3a;
        --separatorcolor: #313131;
        --linkcolor: #75abe1;
        --highlightcolor: #000000;
        --signalcolor: #970E53;
        --dimmsignalcolor: #2e2e2e;
    }

    .logoimage {
        background-image: url("images/logoschrift_dark.png");
    }

    .iglogoimage {
        background-image: url("images/igartenicon.png");
    }

    .info-box {
        background-color: #1e1e1e;
    }
}
