﻿/* Validation summary */

.validation-summary-errors ul {
    list-style-type: none;
    margin-top: 0;
    margin-bottom: 0;
}

.validation-summary-errors, .save-success {
    font-size: 1.5rem;
}

/* Always have a vertical scroll */

body {
    overflow-y: scroll;
}

/* Bold labels */

form label {
    font-weight: bold;
}

/* Datepicker */

.datepicker {
    width: 95px;
}

/* PRINT */

@media print {
    .card {
        page-break-inside: avoid;
    }

    body {
        font-size: 10pt;
    }

    .nav, nav {
        display: none;
    }

    hr {
        display: none;
    }

    footer {
        display: none;
    }

    .col-print-12 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /*Placeholders*/

    .form-control::placeholder {
        color: transparent;
    }

    select {
        appearance: none !important;
        -moz-appearance: none !important;
        -webkit-appearance: none !important;
    }

    option[value=""] {
        content: '';
        color: transparent;
    }

    select[value=""] {
        content: '';
    }

    .form-check-input + label, .form-check-input {
        display: none;
    }

    input[type=radio]:checked + label {
        display: initial;
    }
    .allow-break {
      page-break-inside: auto;
    }
}

.cw-content {
    width: min-content;
}

.cw-100 {
    width: 100px;
}

.cw-70 {
    width: 70px;
}

.cw-10p {
    flex: 0 0 10.0%;
    max-width: 10%;
    padding-right: 15px;
    padding-left: 15px;
}

/* SCROLL BUTTON */

#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 2;
}


ol.main {
    counter-reset: item;
    box-sizing: border-box;
}

    ol.main > li h4:nth-child(1) {
        display: inline;
        padding-left: 1rem;
    }

    ol.main > li {
        list-style-type: none;
        counter-increment: item;
    }

        ol.main > li:before {
            font-size: 1.5rem;
            font-weight: 500;
            margin-left: -2.5rem;
            width: 1.2rem;
        }

    ol.main.lower-alpha > li:before {
        content: counter(item, lower-alpha) ')';
    }

    ol.main.decimal > li:before {
        content: counter(item, decimal) '.';
    }

ol.lower-roman {
    list-style-type: lower-roman;
    counter-reset: lr;
    box-sizing: border-box;
}

    ol.lower-roman li {
        list-style-type: none;
        counter-increment: lr;
    }

        ol.lower-roman li:before {
            display: inline-block;
            content: '(' counter(lr, lower-roman) ')';
        }

/* TOOLTIPS */
.tooltip-inner.wider {
    min-width: 400px;
    width: 400px;
    text-align: left;
}

.tooltip-inner a {
    color: aliceblue;
}

.tooltip-info-box {
    cursor: pointer;
}

.vis-hide {
    visibility: hidden;
    height: 0px;
}


/* VERSION */

span.version {
    display: inline-block;
    padding-left: 5px;
}

    span.version input {
        vertical-align: bottom;
    }

/* OR */
.form-row .or {
    display: flex;
    align-items: center;
}

.underline {
    text-decoration: underline;
}

/*h2, h3 {
    max-width: 18em;
    max-width:  66ch;
    text-align: justify;
}

p, ol, ul:not(.nav) {*/
/*
        approx 90 characters
        one character is roughly 0.4em
    */
/*max-width: 36em;
    max-width: 90ch;
    font-size: 1.3rem;
    text-align: justify;
    margin: 2rem 0;
}*/
