@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.sidebar.findinglife {
    background-image: linear-gradient(180deg, blue 0%, cyan 70%);
    background-color: cyan;
}

@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header {
    position: fixed;
    top: 0;
    height: 40px;
    width: 100%;
    background-color: #82C7FF;
    padding-right: 10px;
    z-index: 100;
}

    header img {
        position: absolute;
        top: 4px;
        left: 4px;
        height: 48px;
        z-index: 3200;
    }

    header h1 {
        margin-left: 48px;
        color: white;
        font-size: 18pt;
        line-height: 40px;
        text-shadow: 1px 1px 0px rgba(0,0,0,.9);
        padding: 2px 0 0 8px;
    }

    header div {
        position: absolute;
        top: 0;
        right: 10px;
        width: 60%;
        line-height: 40px;
    }

aside {
    position: fixed;
    left: 0;
    top: 40px;
    width: 200px;
    height: 100vh;
    background-color: #82C7FF;
    padding-top: 30px;
}

    aside a {
        display: block;
        width: 80%;
        margin: 2em auto;
        padding: 6px 3px;
        border: solid 1px rgba(255,255,255,.8);
        text-decoration: none;
        border-radius: 4px;
        background-color: rgba(255,255,255,.6);
        text-align: center;
        color: black;
        font-size: 85%;
    }

        aside a:hover {
            text-decoration: none;
            color: lightseagreen;
            border: solid 1px rgba(255,255,255,.6);
            background-color: rgba(255,255,255,.8);
        }

main {
    margin: 40px 16px 0 210px;
    padding: 8px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,.7);
    font-size: 80%;
    text-align: center;
    color: darkgrey;
}

#homepage {
    text-align: center;
}


/* From Blazor/Dapper code generator */

table.genlist {
    border-collapse: collapse;
    margin: 1em auto;
}

/* Generated list */

.genlist tr:nth-child(odd) {
    background-color: Aliceblue;
}

.genlist tr:hover {
    background-color: lightyellow;
}

.genlist th, .genlist td {
    border: solid 1px silver;
    padding: 2px 4px;
    font-size: 90%;
    font-family: 'Arial Narrow', Arial, sans-serif
}

    .genlist td:first-child,
    .genlist td:last-child {
        text-align: center;
    }

.genlist td {
    max-width: 400px;
}

.genlist th,
.genlist td {
    padding: 2px 4px;
}

.container {
    border: dotted pink 1px;
}

    .container .col-2,
    .container .col-4,
    .container .col-12 {
        border: dotted yellow 1px;
    }
/* CSS for generated forms */
.genform input.form-control {
    height: auto !important;
    padding: 2px 4px !important;
}

.genform select.form-control {
    height: auto !important;
    padding: 4px !important;
    margin-bottom: 4px;
}

.genform input[type="date"].form-control,
.genform input[type="number"].form-control {
    height: auto !important;
    padding: 2px 4px !important;
    width: 200px;
    display: inline;
}

.genform input[type="checkbox"] {
    /*    width: 20px;
    height: 20px;*/
}

.genform input:read-only {
    border: none;
    background-color: transparent;
    color: darkgray;
}

    .genform input:read-only:focus,
    .genform input:read-only valid {
        border: none;
    }

.genform input[type="checkbox"].form-control {
    display: inline;
    margin: 0;
    padding: 0;
}

.genform input[type="checkbox"] + label {
    display: inline;
    margin: 0;
    padding: 0;
    font-weight: bold;
}


/* Labels for controls  */
.lbl {
    text-align: right;
    font-weight: bold;
}


.buttons {
    padding: 10px 0;
    text-align: center;
}


.errormsg {
    text-align: center;
    color: red;
}

/* Table that holds the Add and Search options for ...List pages. */
table#search-add {
    border-collapse: collapse;
    margin: 0 auto;
}

    table#search-add td {
        min-width: 400px;
    }

        table#search-add td:nth-child(1) {
            text-align: left;
        }

        table#search-add td:nth-child(2) {
            text-align: right;
        }

        table#search-add td input {
            border-radius: 4px;
            border: solid 1px silver;
        }

/* Controls that let people search by date range */
#date-search-tools table {
    margin: 1em auto;
    border-collapse: collapse;
}

    #date-search-tools table td {
        border: solid 1px silver;
        padding: 6px 4px;
    }

        #date-search-tools table td input {
            width: 140px;
        }

#search-buttons {
    margin: 1em auto;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.strikethrough {
    text-decoration: line-through;
    text-decoration-color: red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* Boostrap overrides */
/*@media (min-width: 576px) {
    .form-inline .form-control {
        width: 100% !important;
    }
}*/

.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px; /* 5px rounded corners */
    
}

    /* On mouse-over, add a deeper shadow */
    .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

/* Add some padding inside the card container */
.container {
    padding: 2px 16px;
}

.card-header {
    font-family: 'Comic Sans MS';
    font-size:large;
    font-weight:bold;
    text-shadow: 2px black;
    text-align: center;
    color: royalblue;
}

.card-footer {
    font-size: smaller;
}

.row.header {
    background-color: royalblue;
    font-family: 'Comic Sans MS';
    font-size: large;
    font-weight: bold;
    text-shadow: 2px black;
    color: white;
}

h2 .header {
    background-color: royalblue;
    font-family: 'Comic Sans MS';
    font-size: large;
    font-weight: bold;
    text-shadow: 2px black;
    color: white;
}

h1.finding_life {
    font-family: 'Comic Sans MS';
    font-size:xx-large;
    font-weight: bold;
    text-shadow: 2px black;
    color: royalblue;
    text-align: center
}

p.blog_body{
    font-style:italic;
    color:black;
}

.button.finding_life {
    border: 2px black;
    box-shadow: 4px black;
    background-color: darkgray;
    color: royalblue;
    padding: 1px 1px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 15px;
    font-family: 'Comic Sans MS';
}

.button.finding_life:hover{
    background-color: royalblue;
    color: darkgray;
}

.button.navigate_back {
    height: 30px;
    width: 150px;
}

input[type=button], input[type=submit], input[type=reset] {
    background-color: royalblue;
    border: none;
    color: white;
    padding: 10px 10px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 15px;
    font-family: 'Comic Sans MS';
}

