﻿/*
    Any change for the charts should be added to charts.css which is the gerneric version not here.
    This is just for the customer look and feel. 
*/

:root {
    --mainColor: #071f54; /*blue*/
    --tableLink: #071f54; /*blue*/
    --headerColor: #e30513; /*red*/
    --buttonBackground: #141b4d; /* blue*/
    --buttonForeground: #ffffff; /* white*/
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    height: 100px;
}

/* Provide sufficient contrast against white background */
a {
    color: var(--tableLink);
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    background-image: unset;
}

.page-item.active .page-link {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}


/*---------------- General layout ----------------------*/
th, td {
    white-space: nowrap;
}

h2.heading-color {
    color: var(--headerColor);
    font-family: "Michroma", Helvetica, Arial, sans-serif;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: var(--mainColor);
}

.nav-link {
    color: black;
}

a.nav-link:hover {
    color: var(--mainColor);
    background-color: transparent;
    text-decoration: none;
}

.panel-title {
    color: black;
}

table {
    font-size: 14px;
}

.card {
    border: 1px solid #d9d6d6;
    border-radius: 0.50rem;
}

summary {
    font-size: 20px;
}

/*@media only screen and (max-width: 600px) {
    .components, .form-layout {
        display: none;
    }
}*/

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/*---------------- Customer selections override ----------------------*/
#form-customer .form-group {
    width: auto;
    justify-content: right;
    text-align: right;
}

.form-select-customer {
    display: initial;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #777;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.logo-size {
    max-height: 120px;
}

/*--------------- Shipping and Transport text Area---------*/
.text-area-nostrech {
    border-style: none;
    background-color: transparent;
}

.text-area-stretch {
    width: 100%;
    /*height: 100%;*/
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, .05);
    color: black;
}

.form-control:disabled, .form-control[readonly] {
    background-color: rgba(0, 0, 0, .05);
    color: black;
}

.backwards-arrow a:before {
    font-family: "FontAwesome";
    content: "\f060  ";
    color: black;
}

.form-group {
    padding-bottom: 1rem;
}


.btn-primary {
    color: var(--buttonForeground);
    background-color: var(--buttonBackground);
    background-image: unset;
}

#home-menu .btn-info {
    background-image: unset;
    background-color: var(--buttonBackground);
    border-color: none;
    border: 1px solid white;
    border-radius: 1rem;
    font-size: 1rem;
    color: white;
}

#home-menu .btn-info:hover {
    background-image: unset;
    background-color: lightcoral;
    border-color: none;
    border: 1px solid #0286b4;
    color: white;
}


[data-href] {
    cursor: pointer !important;
}

.force-to-bottom {
    bottom: -1.4rem;
    position: relative;
}