@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


xx input[data-val-required][type=text] {
    /*border-width:2px;*/
    border-color: black;
}

input.input-validation-error {
    /*background-color: #ffeeee;*/
    border: 2px darkred solid;
}

main {
    padding: 1em;
    border: 1px solid black;
    border-radius: 0.5em;
    background-color: #FFFFFFdd;
    xx-opacity: 0.95;
}

.layout-none main {
    margin-top: 1em;
}

body {
    background-image: url(/images/bg.jpg);
    background-attachment: fixed;
    background-size: cover;
}

footer {
    background-color: white;
    opacity: 0.9;
}

select.read-only {
    pointer-events: none;
    cursor: default;
    background-color: #e9ecef;
}

.bi-check-square-fill {
    color: green;
}

.bi-x-square-fill {
    color: red;
}



/* Form Stuff */


fieldset {
    border: solid silver 1px;
    border-radius: 0.5em;
    padding: 1em;
    padding-top: 0;
    padding-bottom: 8px;
    margin-bottom: 20px; /*1.6em;*/
    margin-top: 4px;
}


legend {
    width: auto;
    padding-right: 0.5em;
    padding-left: 0.15em;
    display: inline-block;
    margin-top: -0.85em;
    background-color: white;
}

.control-label {
    display: inline-block;
    width: 150px;
    text-align: right;
    margin-right: 8px;
}

.form-control {
    display: inline-block;
    width: calc(100% - 150px - 16px);
}

.form-group .text-danger {
    display: block;
    margin-left: 166px;
}

.form-check .text-danger {
    margin-left: 0;
}

.form-group.form-check {
    margin-left: 166px;
}

.form-group {
    margin-bottom: 4px;
}


input[type=checkbox][disabled] {
    background-color: #e9ecef;
}


@media (max-width:767px) {

    .form-group {
        margin-bottom: 0;
    }



    .control-label {
        display: block;
        width: 100%;
        text-align: left;
    }

    .form-control {
        display: block;
        width: 100%;
    }

    .form-group .text-danger {
        display: block;
        margin: 0;
    }

    .form-group.form-check {
        margin: 0;
    }
}


div.checkboxes {
    margin-top: 8px;
}

div.over-frosting {
    z-index: 2;
}

div.frosting {
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: white;
    opacity: 0.75;
}


.display-none {
    display: none;
}



.this-lasid {
    display: none;
}

.show-lasid .this-lasid {
    display: block;
}

.font-strike {
    text-decoration: line-through;
}


@media print {
    .no-print {
        display: none;
    }
    main {
        padding: 2em;
        border:none;
    }
}

@media screen {
    .print-only {
        display: none;
    }
}


.text-align-right {
    text-align: right;
}

.text-align-center {
    text-align: center;
}