﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@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
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

.material-icons.md-36 {
    font-size: 36px;
}

.material-icons.md-24 {
    font-size: 24px;
}

.material-icons.md-dark {
    color: rgba(0, 0, 0, 1);
}

/* Format Nav in head */
.nav-link.active {
    font-weight: 700;
}

#TOCLogo {
    float: left !important;
}

@media (max-width: 768px) {
    #TOCLogo {
        max-width: 180px;
    }
}

@media (max-width: 567px) {
    #TOCLogo {
        max-width: 130px;
    }
}

#mainMenu1 a {
    color: black;
}

#mainMenu1 .nav-link-dynamic {
    padding-left: 1px;
    padding-right: 1px;
    margin: 2px;
}

@media (max-width: 576px) {
    #mainMenu1 .dropdown-menu {
        color: lightgray;
        background-color: transparent;
        border: 0;
    }

    #mainMenu1 a {
        color: lightgray;
    }
}

.card-footer {
    padding-right: 7rem;
}

/* TOC Bootstrap Cards*/
.toc-card-head {
    background-color: #247fb5;
    color: #ffffff;
    border: #247fb5 1px solid;
    padding: 0.5rem 1rem 0rem 1rem;
}

.toc-card-border {
    border: #247fb5 1px solid;
}

.toc-card-body {
    background-color: #f0f0f0;
    border: solid 1px #247fb5;
}

/* TOC Checkbox resize*/
input[type=checkbox] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
    transform: scale(1.5);
    /*padding: 10px;*/
}

.toc-input-currency::after {
    box-sizing: unset;
    content: "CHF";
}

/* Hide spinner */
input[type='number'] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Pagebreak on print */
.toc-page-break {
    display: block;
    page-break-after:always;
    position: relative;
}

/*IE fieldset disabled workaroud*/
fieldset[disabled] {
    pointer-events: none;
}

.save-response-message:empty {
    display: none
}

/* Firefox bootstrap 4 empty pages workaround*/
@media (print) {
    .card {
        display: block;
    }
}
