/*

MRE Registration Terminal
Custom CSS Definitions

*/

@font-face {
    font-family: 'Baskerville';
    src: url('../webfonts/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Baskerville';
    src: url('../webfonts/LibreBaskerville-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Baskerville';
    src: url('../webfonts/LibreBaskerville-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Raleway';
    src: url('../webfonts/Raleway-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('../webfonts/Raleway-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('../webfonts/Raleway-MediumItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

html {
    overscroll-behavior: none; /* prevents pull-to-refresh and navigation gestures */
}

body {
    font-family: "Raleway", sans-serif;

    color: #fffaea;
    background-color: #05112f;
    --secondary-color: #e8b126;

    display: flex;
    min-height: 100vh;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
    user-select: none !important;
    /* overflow: hidden; */
}

main {
    flex: 1 0 auto;
    overflow: hidden;
}

footer {
    position: fixed;
    bottom: 0;
    margin-bottom: 0;
    width: 100%;
    z-index: 1;
}

.mt0 {
    margin-top: 0 !important;
}

.mb0 {
    margin-bottom: 0 !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mt15 {
    margin-top: 15px !important;
}

.mt25 {
    margin-top: 25px !important;
}

.mtb15 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.mtb25 {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

.mt25b15 {
    margin-top: 25px !important;
    margin-bottom: 15px !important;
}

.mt15b25 {
    margin-top: 15px !important;
    margin-bottom: 25px !important;
}

.ptb0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ptb15 {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.breadcrumb {
    color: rgba(255,255,255,0.7) !important;
}

.breadcrumb::before {
    content: '';
}

.breadcrumb svg {
    margin: 0 15px 0 0;
}

.linkme, .breadcrumb span {
    cursor: pointer;
}

.breadcrumb-active {
    color: white !important;
}

.application {
    /* todo: select font
    font-face: "Ubuntu", sans-serif;
    */
}

.hoverlink {
    cursor: pointer;
}

.aquestion {
    font-size: 1.6rem;
    line-height: 1;
}

.aanswer {
    font-size: 1.6rem;
    clear: both;
}

.qslider {
    margin: 20px 10px 50px;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.noUi-handle {
    background: #0d657c;
    box-shadow: none;
}

.noUi-connects {
    height: 65px;
}

.collection {
    border-radius: 5px;
    min-height: 60px;
}

.collection .collection-item {
    padding-right: 5px;
}

.collection .collection-item.avatar {
    min-height: 62px;
    padding-left: 62px;
}

.collection .collection-item.avatar:not(.circle-clipper) > .circle, .collection .collection-item.avatar :not(.circle-clipper) > .circle {
    left: 10px;
}

.applyq .collection {
    margin-left: 8px;
    min-width: 50%;
    max-width: 90%;
}

.applya.col {
    padding-right: 5px;
    float: right;

}

.applya .collection {
    max-width: 90%;
    margin-left: 16px;
}

.achat_container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding-bottom: 10px;
}

.achat_container > div {
    display: flex;
    align-items: center;
}

.achat_qmsg {
    justify-content: left;
}

.achat_qmsg > div, .achat_amsg > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.achat_qmsg > div {
    margin-left: 8px;
    margin-right: 32px;
}

.achat_qmsg > div > div > div:first-of-type {
    height: 42px;
    padding-right: 10px;
}

.achat_qmsg img {
    width: 42px;
    height: 42px;
    overflow: hidden;
}

.achat_amsg {
    justify-content: right;
}

.achat_amsg > div {
    margin-right: 8px;
    margin-left: 32px;
}

.achat_qmsg > div > div, .achat_amsg > div > div {
    display: flex;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    margin: .5rem 0 0 0;
    background-color: #fff;
    padding: 10px;
}

#applyinput hr {
    width: 100%;
    color: #e0e0e0;
}

#applyinput .btn-large {
    min-width: 175px;
    margin: 10px;
}

#applyinput .btn {
    min-width: 175px;
    margin: 5px;
}

.achat_input {
    flex: 1;
    text-align: center;
}

.achat_resp > .input-field {
    margin: 0;
    padding-left: 5px;
    padding-right: 5px;
    background-color: rgba(122, 92, 84, 0.2);
}

.achat_resp > .input-field > label {
    color: #9e9e9e !important;
    padding-left: 5px;
    top: -5px !important;
}

.materialize-textarea {
    padding: 0;
    max-height: 100px;
}

.slider {
    -webkit-appearance: none;
    margin: 0;
    height: 10px;
    border-radius: 5px;
    outline: none;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    padding-left: 8px;
    padding-right: 8px;
}

.slider-tick {
    position: relative;
    width: 1px;
    height: 5px;
    background: #999;
}

input[type="range"] {
    border-color: transparent;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    background: #0d657c;
    margin: 0;
    border: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #0d657c;
    /*margin: 0;*/
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    top: 2px;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 15px;
    cursor: pointer;
    background: #c2c0c2;
    border-radius: 5px;
    margin-bottom: 20px !important;
}

input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0d657c;
    cursor: pointer;
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 15px;
    cursor: pointer;
    background: #c2c0c2;
    border-radius: 5px;
    margin-bottom: 20px !important;
}

.btn, .btn-large, .btn-flat {
    user-select: none;
}

path {
    user-select: none !important;
}

.dropzone {
    padding: 5px;
    height: 140px;
    min-height: 100px;
    border: 1px solid #999;
    overflow: auto;
    background:
            radial-gradient(circle, transparent 20%, #e9e9e9 20%, #e9e9e9 80%, transparent 80%, transparent),
            radial-gradient(circle, transparent 20%, #e9e9e9 20%, #e9e9e9 80%, transparent 80%, transparent) 50px 50px,
            linear-gradient(rgba(69, 90, 100, 0.1) 8px, transparent 8px) 0 -4px,
            linear-gradient(90deg, rgba(69, 90, 100, 0.1) 8px, transparent 8px) -4px 0;
    background-color: #e9e9e9;
    background-size:100px 100px, 100px 100px, 50px 50px, 50px 50px;
}

.dz-preview {
    margin: 4px !important;
    min-height: 80px !important;
}

.dz-image {
    border-radius: 5px !important;
    width: 75px !important;
    height: 75px !important;
}

.dz-message {
    margin: 60px 0 0 0 !important;
    color: #455a64 !important;
}

.dz-details {
    display: none;
}

.copyclip {
    font-size: 16px;
    margin-left: 4px;
    margin-right: 4px;
}

.collapsible-header {
    background-color: transparent !important;
}

.datenschutz > li {
    list-style-type: square !important;
    margin-left: 15px;
}

.btn {
    background-color: #e8b126;
    font-weight: bold;
}

.btn-large {
    font-weight: bold;
}

.btn-floating {
    --secondary-color: transparent;
}

.coll_open > div > svg.fa-chevrons-right {
    animation: rotate 300ms ease-out;
    transform: rotate(90deg);
    position: relative;
    top: 10px;
    padding-right: 10px;
    left: -5px;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
        left: 0;
        top: 5px;
    }
    100% {
        transform: rotate(90deg);
        left: -5px;
        top: 10px;
    }
}

.coll_close > div > svg.fa-chevrons-right {
    animation: rotate2 300ms ease-out;
    transform: rotate(0deg);
    position: relative;
    top: 5px;
    padding-right: 10px;
    left: 0;
}

@keyframes rotate2 {
    0% {
        transform: rotate(90deg);
        left: -5px;
        top: 10px;
    }
    100% {
        transform: rotate(0deg);
        left: 0;
        top: 5px;
    }
}

.collapsible-header > span {
    font-weight: bold;
}

.invitecode {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.invitecode .input-field {
    margin: 0 !important;
    background-color: transparent !important;
}

.invitecode .input-field > input {
    text-align: center;
    font-size: 30px;
    color: #fffaea;
    font-weight: bold;
}

h4, h5, .card-title {
    font-family: "Baskerville", serif;
}

h6, .hptext {
    font-family: "Raleway", sans-serif;
    font-size: 1.5em;
    line-height: 1.1;
}

.container {
    padding-top: 15px;
    padding-bottom: 15px;
}

.blue {
    background-color: #265ee8 !important;
}

.invitecode {
    --secondary-color: #fffaea;
}

.achat_input {
    --secondary-color: #0d657c;
}

.invite.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
    color: #e8b126 !important;
}

.invite.card, .vipcolor {
    background-color: #0d657c !important;
}

.blue-grey.darken-1, .bcal_selected {
    background-color: #0d657c !important;
}

.blue-grey.darken-1[disabled] {
    background-color: #dddddd !important;
}

.invcode_check {
    float: right !important;
    margin-right: 24px;
    color: #e8b126 !important;
    position: relative;
    top: -5px;
    font-size: 24px;
}

.invcode_fail {
    color: #A1113A;
    text-align: center;
    font-weight: bold;
    float: right;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

form > .input-field {
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: transparent;
}
form > .input-field.col {
    padding-right: 0 !important;
}

form > .input-field > input, form > .input-field > textarea {
    color: #fffaea;
}

form > .input-field > textarea {
    max-height: 350px;;
}

form > .input-field > label:focus {
    color: #e8b126 !important;
}

form > .input-field .prefix {
    left: 0;
}

form > .input-field .prefix.active {
    color: #e8b126;
}

.required_field_asterisk {
    color: #e8b126;
    padding-left: 5px;
}

.apply_title {
    font-size: 24px;
    font-family: "Baskerville", serif;
    margin-bottom: 8px;
    line-height: 32px;
}

.fixed-action-btn {
    position: absolute !important;
}

.character-counter {
    position: relative;
    bottom: 10px;
}

.toast .toast-action {
    color: #ffffff !important;
    font-weight: bold !important;
    margin-left: 5px !important;
    margin-right: 0 !important;
}

.toast {
    flex-direction: column !important;
}

.bcal_container {
    display: flex;
    align-items: stretch;
    text-align: center;
}

.bcal_main {
    flex: 1 0 auto;
}

.bcal_header {
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

.bcal_paginate {
    flex: 0 0 30px;
    cursor: pointer;
    align-content: center;
    min-height: 50px;
}

.bcal_paginate.pg_disable {
    color: #999;
    cursor: not-allowed;
}

.bcal_col {
    flex: 1 0;
}

.bcal_col_skip {
    flex: 0 0 15px;
}

.bcal_table {
    display: flex;
    align-items: flex-start;
    text-align: center;
    margin-top: 5px;
}

.bcal_col_border {
    border-bottom: 1px solid #fffaea;
    margin: 0 5px;
    padding-bottom: 5px;
}

.bcal_col_header {
    flex: 1 0;
    margin: 0 5px;
    padding-top: 5px;
}

.bcal_col_hplh {
    flex: 1 0;
    border-top: none;
    margin: 0 5px;
    padding-top: 10px;
}

.bcal_slot {
    min-width: 72px;
    margin-bottom: 5px;
}

.bold {
    font-weight: bold;
}

.navbar-fixed {
    z-index: 990;
    height: 100px;
}

.navbar-fixed h4 {
    color:#fffaea;
    margin: 0;
}

.navbar-fixed h5 {
    color:#fffaea;
    margin: 0;
    padding-right: 15px;
}

.cb_row .s4 {
    font-weight: bold;
    padding-right: 3px;
}

.cb_row .s1 {
    color: #e8b126;
}

.cb_row .mapblock {
    padding-top: 5px;
    padding-bottom: 5px;
    color: #0d657c;
}

.cb_atime {
    font-size: 24px;
    font-weight: bold;
}

.cb_atime .fa-check, .cb_atime .fa-comments-question-check {
    color: #26e850;
}

.cb_atime .fa-rotate {
    font-size: 18px;
    color: #e8b126;
}

.cb_atime .fa-xmark-large {
    color: #e826be;
}

.cb_custom input {
    color: #fffaea
}

.cb_custom .btn {
    margin-left: 25px;
}

h4.header {
    color: #05112f;
    font-weight: bold;
    text-shadow:
        1px 1px 1px rgba(255, 250, 234, 1),
        -1px -1px 1px rgba(255, 250, 234, 1),
        1px -1px 1px rgba(255, 250, 234, 1),
        -1px 1px 1px rgba(255, 250, 234, 1),
        0 0 5px rgba(15, 17, 47, 0.8),
        0 0 10px rgba(15, 17, 47, 0.6),
        0 0 15px rgba(15, 17, 47, 0.4);
}

h4.header.colinverse {
    color: #fffaea;
    font-weight: bold;
    text-shadow:
        1px 1px 1px rgba(15, 17, 47, 1),
        -1px -1px 1px rgba(15, 17, 47, 1),
        1px -1px 1px rgba(15, 17, 47, 1),
        -1px 1px 1px rgba(15, 17, 47, 1),
        0 0 5px rgba(255, 250, 234, 0.8),
        0 0 10px rgba(255, 250, 234, 0.6),
        0 0 15px rgba(255, 250, 234, 0.4);
}

#vip_code .code-proceed {
    transition: height 500ms ease;
}

#vip_code input[type="text"]:disabled {
    color: #fffaea !important;
}

.hide-card-action {
    height: 0;
    border-top: 0 !important;
    padding: 0 !important;
}

.carousel-item:not(.active) {
    font-size: 0.6em;
}
.carousel-item.active {
    font-size: 0.8em !important;
    font-weight: bold !important;

}

.co_tags {
    text-align: center;
}
.co_tags .chip {
    background-color: #e8b126;
    font-weight: bold;
    color: #05112f;
}

.co_header {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.co_container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.co_row {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}

.co_col {
    flex: 1;
}

.co_col:nth-child(1) {
    flex: 0 0 25vw;
    text-align: right;
    font-weight: bold;
    padding-right: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.co_col:nth-child(2) {
    flex: 0 0 auto;
    text-align: center;
    color: #e8b126;
    padding-left: 5px;
    padding-right: 10px;
}

.co_col:nth-child(3) {
    flex: 1;
    text-align: left;
}

.co_resp {
    max-width: 400px;
}

.co_resp .btn {
    flex: 1;
}

.co_resp .fa-fw {
    position: relative;
    top: 12px;
}

.hyphenate {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.pd_green {
    color: #4CAF50;
}

.pd_yellow {
    color: #FFEB3B;
}

.pd_red {
    color: #FF4C4C;
}

.i_yellow {
    color: #e8b126;
}

.co_headline {
    font-family: "Baskerville", serif;
    color: #e8b126;
}

@media only screen and (max-width: 600px) {
    .container {
        width: 100% !important;
    }
}

.infolink {
    cursor: pointer;
    color: #e8b126;
    text-decoration: underline dashed #e8b126;
}

#bmodal_info {
    background-color: #05112f;
    padding-left: 10px;
    padding-right: 10px;
}

.tfit {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.chequered > div:nth-child(even) {
    flex: 0 0 calc(45% - 5px);
}

.chequered > div:nth-child(odd) {
    flex: 0 0 calc(55% - 5px);
}

img-comparison-slider:focus {
    outline: none;
    box-shadow: none;
}

.ics_before,
.ics_after {
    margin: 0;
}

.ics_before figcaption,
.ics_after figcaption {
    background: #fff;
    border: 1px solid #c0c0c0;
    border-radius: 12px;
    color: #2e3452;
    opacity: 0.8;
    padding: 12px;
    position: absolute;
    bottom: 10px;
    line-height: 100%;
}

.ics_before figcaption {
    left: 12px;
}

.ics_after figcaption {
    right: 12px;
}
