@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: #FFFFFFf0;    
}

.layout-none main {
    margin-top: 1em;
}

body {
    background-image: url(/images/logotrans.png); /*, url(/images/top-flag.jpg);*/
    background-attachment: fixed; /*, fixed;*/
    background-size: 400px; /* , 100%;*/
    background-position: bottom 80px right; /*, top left;*/
    background-repeat: no-repeat; /*, no-repeat;*/
}

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: 40px;
    display: block;
}


legend {
    width: auto;
    /*    padding-right: 0.5em;
    padding-left: 0.15em;*/
    display: inline-block;
    margin-top: -1.3em;
    margin-left: -0.5em;
    /*x-background-color: #f8f8f8;*/
}

.control-label, dt {
    display: inline-block;
    width: 150px;
    text-align: right;
    vertical-align: top;
    margin-right: 8px;
}

.form-control, .form-select {
    display: inline-block;
    width: calc(100% - 150px - 16px);
}

dd {
    display: inline-block;
    width: calc(100% - 150px - 16px);
    border: 1px solid grey;
    border-radius: 5px;
    padding: 4px;
    background-color: #ddd;
}

.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, dt {
        display: block;
        width: 100%;
        text-align: left;
    }

    .form-control, dd, .form-select {
        display: block;
        width: 100%;
        text-align: left;
    }

    .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;
}

div.bolder {
    font-size: larger;
    font-weight: bold;
}

#paypal-button-container {
    text-align: center;
}

main {
    max-width: 650px;
    margin: auto;
}



table.levels {
    background-color: #44a;
    color: white;
    border-radius: 8px;
}

    table.levels td,
    table.levels th {
        vertical-align: middle;
    }

p.req::before,
span.req::before,
label.req::after{
    color: red;
    font-weight: bold;
    content: " * ";
}

.text-align-right {
    text-align: right;
}

.curtain {
    position: fixed;
    top:0;
    left:0;
    height: 100vh;
    width: 100vw;
    background-color: #88888888;
    display: none;
}

.curtain.show {
    display: block;
    z-index: 99999999;
}