﻿@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import "background.css";

header {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: flex-end;
    z-index: 2;
}

nav.navbar {
    margin: 8px 0 !important;
    z-index: 2;
}

a.navbar-brand {
    display: none;
}

.navbar .nav-involon-logo {
    display: none;
}

.content {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.static-woz {
    color: white;
}

/* Co creation header */
.co-creation {
    background-color: rgba(255,255,255,0.8);
}

.logo.involon {
    max-width: 200px;
}

.logo.ciphix {
    max-width: 300px;
}

@media (max-width: 576px) {
    .logo.involon {
        max-width: 35%;
    }

    .logo.ciphix {
        max-width: 55%;
    }
}

.ciphix-logo {
    height: 72px;
}

.ciphix-logo-color {
    fill: #001A44;
}

.ciphix-logo-accent {
    fill: #FFCE3C;
}

.static-woz.content {
    color: white;
}

.static-woz a {
    color: white;
}

.content {
    letter-spacing: 0.25px;
}

.content .title {
    font-weight: 600;
    font-size: 4em;
    line-height: 1em;
}

.content .subtitle {
    font-weight: 300;
    font-size: 2em;
    line-height: 1.2em;
}

.content .contact .contact-item span,
.content .contact .contact-item a {
    display: block;
    font-size: 1.1em;
}

.contact-item {
    font-weight: 300;
}

.contact-item .contact-header {
    font-weight: 700;
}

.content .contact .contact-item .icon-container {
    display: flex;
    position: relative;
    padding-right: 10px;
}

.contact-item .icon-container i {
    background-color: white;
    color: #001A44;
    font-size: 24px;
    padding: 12px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    mix-blend-mode: screen;
    position: relative;
}

form {
    display: contents;
}

form > .mb-3 {
    display: contents;
}

form .card {
    background-color: rgba(255,255,255,0.6);
    border-radius: 32px;
}

.download-template {
    background-color: transparent !important;
}

.download-template a {
    color: #0b5ed7;
}

.download-template a:hover {
    color: #073d8b;
}

.file-drop-area {
    display: inline-block;
    background-color: rgba(var(--color-secondary), 0.8);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='32' ry='32' stroke='white' stroke-width='16' stroke-dasharray='20%2c 32' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
    border-radius: 32px;
    color: white;
    text-align: left;
}

.file-drop-area .file-upload-caption {
    font-size: 2.2em;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .file-drop-area .file-upload-caption {
        font-size: 1.8em;
    }
}

.file-drop-area .img-file-upload {
    width: 200px;
    max-width: 50%;
}

.file-drop-area .img-arrow {
    height: 100px;
    justify-self: flex-end;
    padding-left: 20px;
    margin-bottom: -100px;
}

@media (max-width: 1024px) {
    .file-drop-area .img-arrow {
        display: none;
    }
 }

 .file-drop-area .drag-drop {
    font-size: 1.2em;
    font-weight: 700;
}

.treshold {
    border: 3px solid var(--color-form);
}

    .treshold .input-group-text {
        background-color: var(--color-form);
        border: 3px solid var(--color-form);
        border-radius: 12px;
        color: white;
    }

    .treshold input,
    .treshold select {
        border: 3px solid var(--color-form);
    }

.treshold input:focus,
.treshold select:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(var(--color-secondary), .25);
}

.treshold:not(.input-group-append) input,
.treshold:not(.input-group-append) select {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.treshold:not(.input-group-prepend) input,
.treshold:not(.input-group-prepend) select {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.treshold .input-group-prepend {
    min-width: 160px;
}

.treshold .btn,
.treshold .btn a {
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
}

.treshold .btn-download-template {
    background-color: #8e8d8d;
}

.treshold .btn-download-template:hover {
    background-color: #575656;
}

.treshold .btn-upload {
    background-color: #3ca8ca;
    border-radius: 12px;
    border-radius: var(--border-radius);
}

.treshold .btn-upload:hover {
    background-color: #40607d;
}

.alert {
    border-radius: 16px;
    border-width: 0px;
    margin-top: 1em;
    margin-bottom: 0;
}

@media (max-width: 500px) {
    .treshold .input-group,
    .treshold .input-group-text {
        position: relative;
        display: block;
        border-collapse: separate;
        border-radius: 0;
        border: 0;
        background: transparent;
        text-align: left;
        color: var(--color-primary-hex);
        padding-left: 0;
        font-weight: 700;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .treshold .input-group-append {
        display: none;
    }

    .treshold .input-group-prepend .input-group-text:after {
        content: ' (%)';
    }

    .treshold input.form-control,
    .treshold select.form-select {
        width: 100%;
    }

    .treshold:not(.input-group-prepend) input,
    .treshold:not(.input-group-prepend) select {
        border-radius: 12px !important;
    }
}

/* Login form */
.login-form h2 {
    font-weight: 700;
    color: var(--color-primary-hex);
}

.login-form p {
    font-weight: 300;
}

.login-form .control-label {
    font-weight: 500;
}

.form-group.required .control-label:after {
    content: "*";
    color: red;
    padding-left: 5px;
}

/*Do not show footer on landing page*/
footer.footer {
    display: none !important;
}

/*Only show footer landing page on mobile*/
@media (max-width: 991px) {
    footer.footer {
        display: block !important;
    }

    .row.contact {
        display: none !important;
    }
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    z-index: 2000;
    position: fixed;
    height: 90px;
    width: 90px;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.pace-active {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(var(--color-secondary), 0.8);
    z-index: 1;
    width: 100%;
    height: 100%;
    z-index: 1999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pace.pace-inactive .pace-activity {
    display: none;
}

.pace .pace-activity {
    position: fixed;
    z-index: 2000;
    display: block;
    height: 90px;
    width: 90px;
    display: block;
    border-width: 30px;
    border-style: double;
    border-color: #1da7e7 transparent transparent;
    border-radius: 50%;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    -o-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    margin: auto;
}

.pace .pace-activity:before {
    content: ' ';
    position: absolute;
    top: 10px;
    left: 10px;
    height: 50px;
    width: 50px;
    display: block;
    border-width: 10px;
    border-style: solid;
    border-color: #1da7e7 transparent transparent;
    border-radius: 50%;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    100% {
        -moz-transform: rotate(359deg);
    }
}

@keyframes spin {
    100% {
        transform: rotate(359deg);
    }
}

.filter-container {
    display: flex;
    gap: 10px;
    width: 230px;
    flex-direction: column;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-input {
    padding: 0 10px;
}

.filter-paragraph {
    margin-bottom: 0;
}

.input-container {
    width: 230px;
    display: flex;
    justify-content: space-between;
}

.filter-button {
    border-radius: 16px;
}