/* Fonts:
   ------ */

@charset "utf-8";
@font-face {
    font-family: 'Giotto';
    src: url('/res/fonts/giottoflf-webfont.woff') format('woff'),
         url('/res/fonts/giottoflf-webfont.ttf') format('truetype');
}
@font-face {
    font-family: 'SimplonNorm';
    src: url('/res/fonts/SimplonNorm-Light.otf') format('opentype');
}

/* Header/Main/Footer:
   ------------------- */

body {
    background-color: rgb(0,17,35);
    font-family: SimplonNorm, Arial, sans-serif;
    font-size: 16px;
    margin: 0;
}

.top {
    display: table;
    width: 100%;
    background-color: white;
}

.header {
    display: table;
    background-color: white;
    margin: 0;
    padding: 0;
    top: 0;
    width: 100%;
    border-bottom: 1px solid #A0A0B0;
    z-index: 1;
}
.header_block {
    display: block;
    margin: auto;
}

.main {
    display: table;
    width: 100%;
    margin: 0;
    background-color: white;
}
.main_block {
    display: block;
    margin: 0 20px 0 20px;
    padding-top: 14px;
    padding-bottom: 20px;
}

.footer {
    background-color: rgb(0,17,35);
    border-top: 1px solid #A0A0B0;
    font-size: 15px;
    padding: 10px 0 30px 0;
}
.footer_block {
    display: table;
    margin: 0 20px 0 20px;
}
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}
.footer li {
    margin: 0;
}
.footer p {
    color: #ABB;
}

/* Header Logo:
   ------------ */

.logo {
    display: table;
    margin: 20px;
}
.logo * {
    float: left;
    margin-right: 10px;
}
.logo img {
    width: 70px;
    height: 70px;
}
.logo p {
    text-transform: uppercase;
    font-family: 'Giotto', sans-serif;
    font-size: 36px;
    line-height: 36px;
    letter-spacing: 3px;
    margin: 15px 0 0 0;
}

/* Menu:
   ----- */

.menu {
    display: block;
    width: 90%;
}
.menu ul {
    list-style: none;
    padding: 0;
}
.menu > ul {
    margin: 0 15px 0 15px;
}
.menu li {
    border: none;
    background-color: white;
    float: left;
    margin: 0 8px 10px 5px;
    text-transform: uppercase;
    font-size: 15px;
    color: #A0A0B0;
}
.menu > ul > li > a:link,
.menu > ul > li > a:visited {
    color: #A0A0B0;
    text-decoration: none;
}
.hover_menu {
    display: none;
    position: absolute;
    border: 1px solid grey;
    margin: 0;
    background-color: white;
    min-width: 160px;
    z-index: 1;
    overflow: visible;
}
ul.hover_menu > li {
    float: none;
    margin: 8px;
    padding: 0;
}
li:hover .hover_menu {
    display: block;
}
li.basket_emphasis {
    color: rgb(70,153,165);
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0% { color: rgb(70,153,165); }
    50% { color: black; }
    100% { color: rgb(70,153,165); }
}

/* Text Styling:
   ------------- */

h2 {
    color: #303030;
}
h3,h4 {
    color: #202020;
}
p,
li {
    color: #101010;
}
h1 {
    text-align: left;
    margin: 20px 0 20px 0;
    text-transform: uppercase;
    font-family: 'Giotto', sans-serif;
    font-size: 60px;
    font-weight: lighter;
    letter-spacing: 4px;
}
a:link,
a:visited {
    color: rgb(70,153,165);
    text-decoration: none;
}
a:link:hover,
a:visited:hover,
.menu > ul > li > a:link:hover,
.menu > ul > li > a:visited:hover {
    color: rgb(130,213,225);
    text-decoration: underline;
    cursor: pointer;
}
hr {
    border: 0;
    border-top: 1px solid #A0A0B0;
}
.lkey {
    font-family: 'Courier New', serif;
}

.main ul {
    list-style: none;
}
.main ul li::before {
    content: "\2022";
    color: rgb(70,153,165);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
.tagline {
    font-size: 110%;
}
.error,
.warning,
.negative,
.expired {
    color: red;
}
.error {
    font-size: 125%;
}
.unavailable {
    color: grey;
}
.voucher_in_use * {
    color: red;
    text-decoration: line-through;
}
.cpu_warning {
    color: red;
    animation: blink_red 2s ease-in-out infinite;
}
.important {
    color: red;
    border: 2px solid red;
    padding: 20px;
    font-size: 125%;
}
@keyframes blink_red {
    0% { color: black }
    50% { color: red; }
    100% { color: black; }
}
@keyframes blink_pink {
    0% { background-color: white }
    50% { background-color: pink; }
    100% { background-color: white; }
}

p.indent,
div.indent {
    margin-left: 40px;
}
ol.no_label {
    list-style-type: none;
}

td p {
    margin: 0;
}
td p:nth-child(n+2) {
    margin-top: 10px;
}
td.nowrap {
    white-space: nowrap;
}

div.test {
    margin: 10px 0 10px 0;
    padding: 10px 20px 15px 20px;
    background-color: rgb(200,240,255);
    display: block;
}
div.test p {
    margin-block-start: 0;
    margin-block-end: 0.2em;
}

select.change_country {
    margin-right: 10px;
}

/* Image Styling:
   -------------- */

img {
    max-width: 100%;
}
img.shadow,
img.plugin {
    filter: drop-shadow(0px 6px 10px #30303080);
}
img.product_logo {
    max-height: 230px;
    width: auto;
    height: auto;
}
img.maybe_float_right {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons:
   -------- */

input[type=submit] {
    margin: 2px 2px 10px 0;
    background-color: rgb(70,153,165);
    color: white;
    border: 2px solid rgb(35,85,100);
    border-radius: 7px;
    padding: 10px;
}
input[type=submit]:hover {
    cursor: pointer;
    background-color: rgb(130,213,225);
    color: black;
    transition: background-color 0.2s, color 0.2s;
}

/* Tables:
   ------- */

th,
td {
    border: 1px solid #A0A0B0;
    margin: 0;
    padding: 4px;
    background-color: #F0F4FF;
}
table input:not([type=submit]) {
    border: none;
    background-color: transparent;
}
table input[type=submit] {
    margin: 0;
    padding: 2px 6px 2px 6px;
}
table {
    margin-bottom: 20px;
    font-size: 13px;
}
td input,
td select {
    width: 100%;
    padding: 0;
    margin: 0;
}
table.right_align td {
    text-align: end;
}

/* Cookie Authorisation Block:
   --------------------------- */

div.cookie_authorisation {
    display: block;
    padding: 10px 20px 10px 20px;
    margin: 10px 0 30px 0;
    background-color: pink;
}

/* Tabs:
   ----- */

.tab {
    display: none;
}
#tab_1:checked ~ .tab.content_1,
#tab_2:checked ~ .tab.content_2,
#tab_3:checked ~ .tab.content_3,
#tab_4:checked ~ .tab.content_4 {
    display: block;
}

input[name="tab"] {
    display: none;
}
input[name="tab"] + label {
    margin-top: 20px;
    display: inline-block;
    border: 1px solid #A0A0B0;
    background: #F4F4F4;
    padding: 4px 12px;
    border-radius: 8px 8px 0 0;
    position: relative;
    top: 1px;
}
input[name="tab"]:checked + label {
    background: white;
    border-bottom: 1px solid white;
}
input[name="tab"] ~ .tab {
    border-top: 1px solid #A0A0B0;
}
input[name="tab"] + label:hover {
    cursor: pointer;
}

/* Agreements:
   ----------- */

.agreement_box {
    display: block;
    border: 2px solid;
    padding: 0 20px 5px 20px;
    margin: 20px 0 20px 0;
    max-height: 440px;
    overflow: auto;
    background-color: #F0F4FF;
}
table.agreement {
    margin: 20px 0 10px 0;
}
table.agreement td {
    background: white;
}

/* Note:
   ----- */

div.note {
    display: block;
    border: 1px solid #A0A0B0;
    margin: 15px 0 15px 0;
    padding: 10px 20px 10px 20px;
    font-weight: bold;
    background-color: #FFFFE0;
}

/* Index Page Directions:
   ---------------------- */

.top_direct {
    width: 220px;
    display: none;
    float: right;
    margin: 0 0 20px 30px;
}
.top_direct h2 {
    margin: 0;
    text-transform: uppercase;
    font-family: 'Giotto', sans-serif;
    font-size: 40px;
    font-weight: lighter;
    letter-spacing: 2px;
}
.top_direct p {
    margin: 15px 0 0 0;
}
.top_direct * {
    color: white;
}
.direct_1,
.direct_2 {
    padding: 15px 12px 15px 12px;
}
.direct_1 {
    background-color: rgb(0,42,64);
    margin-bottom: 1px;
}
.direct_2 {
    background-color: rgb(1,143,179);
}

.direct_1:hover,
.direct_2:hover {
    text-decoration: none;
    background-color: rgb(130,213,225);
}
.direct_1:hover *,
.direct_2:hover * {
    color: black;
}

/* Simple Reactive Page Handling:
   ------------------------------ */

@media screen and (min-width: 800px) {

    .header {
        position: fixed;
    }
    .header_block {
        margin: auto;
        width: 760px;
    }
    .footer_block {
        width: 720px;
        margin: auto;
    }
    .footer li {
        margin-right: 40px;
        display: inline;
    }
    .main_block {
        padding-top: 153px;
        margin: auto;
        width: 720px;
    }
    .menu li {
        width: auto;
    }
    .columns {
        display: table;
    }
    .left {
        display: table-cell;
        width: 50%;
        padding-right: 20px;
    }
    .right {
        display: table-cell;
        width: 50%;
        padding-left: 20px;
    }
    .maybe_float_right {
        float: right;
        margin: 10px 0 10px 20px;
    }
    .maybe_float_left {
        float: left;
        margin: 10px 20px 10px 0;
    }
    .top_direct {
        display: table;
    }
    table {
        font-size: 15px;
    }

}

@media screen and (min-width: 1200px) {

    .header_block {
        width: 1040px;
    }
    .footer_block,
    .main_block {
        width: 1000px;
    }
    .menu li {
        margin-right: 32px;
    }

}

/* EOF */
