/* General styles */

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 14px;
    background-color: white;
    color: #595959;
}

[class*="narrow-content"] {
    margin: auto;
    width: 100%;
    padding: 4px;
}

@media only screen and (min-width: 768px) {
    /* For desktop: */
    .narrow-content {
        width: 80%;
        padding: 10px;
    }
}

.main {
    padding: 20px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
}

    .main a {
        color: #000;
        text-decoration: none;
    }

        .main a:hover {
            text-decoration: underline;
        }

#footer {
    clear: both;
    text-align: center;
    font-family: "Verdana";
    font-size: 10px;
    border-top: 2px solid #2B3811;
    padding-top: 5px;
}

#progress {
    text-align: center;
    padding: 40px 0 3px 0;
    font-weight: bold;
    font-family: "Verdana";
    font-size: 10px;
    width: 55px;
    background: white url("../Content/images/loading.gif") no-repeat top center;
    border: 2px solid gray;
}

.natbutton {
    background: #2B6813;
    padding: 5px;
    font-weight: bold;
    font-size: 12px;
    color: White;
    border-width: 0;
    border-radius: 2px;
}

    .natbutton:hover {
        background-color: #B6E074;
        color: #2B6813;
    }

.natbutton-large {
    background: #2B6813;
    padding: 7px;
    font-weight: bold;
    font-size: x-large;
    color: White;
    border-width: 0;
    border-radius: 3px;
}

    .natbutton-large:hover {
        background-color: #B6E074;
        color: #2B6813;
    }

.hidden {
    opacity: 0;
    /*filter: alpha(opacity=0);*/
    position: absolute;
    height: 25px;
}

select {
    width: 120px;
}

.hiddeninput {
    display: none;
}

.textbox_edit {
    width: 100%;
}

.panel_controlrow {
    margin-bottom: 1em;
}

.panel_inner_controlrow {
    margin-bottom: 0;
}

    .panel_controlrow.displayFlex,
    .panel_inner_controlrow.displayFlex {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

        .panel_controlrow.displayFlex .divSearch,
        .panel_inner_controlrow.displayFlex .divSearch {
            margin-left: 30px;
            display: flex;
            flex-direction: row;
            align-items: center;
            flex-grow: 2;
        }

            .panel_controlrow.displayFlex .divSearch .item,
            .panel_inner_controlrow.displayFlex .divSearch .item {
                margin: 0 10px;
            }

            .panel_controlrow.displayFlex .divSearch input {
                flex-grow: 2;
            }

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px white inset;
    -webkit-text-fill-color: #333;
}

    input:-webkit-autofill:focus {
        -webkit-box-shadow: /*your box-shadow*/ 0 0 0 50px white inset;
        -webkit-text-fill-color: #333;
    }

/* Paragraphs & Headers */

/*p {
    margin-bottom: 10px;
    line-height: 1.6em;
}*/

/*h1, h2, h3 {
    color: #666666;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.5em;
    font-weight: 600;
}

h3 {
    font-size: 1.2em;
}*/

/* Tables */

table.natificTable {
    margin-top: 10px;
    margin-bottom: 10px;
}

    table.natificTable th {
        background-color: #497A28;
        color: White;
        font-size: 16px;
        font-weight: bold;
        padding: 3px 10px;
        border: 1px solid white;
    }

    table.natificTable td {
        background-color: #B6E074;
        border: 2px solid white;
        padding: 2px;
        text-align: center;
        font-size: 12px;
    }

        table.natificTable td a {
            color: black;
            font-weight: bold;
            text-decoration: none;
        }

            table.natificTable td a.gridviewbutton {
                display: inline-block;
                color: white;
            }

            table.natificTable td a:hover {
                text-decoration: none;
            }

    table.natificTable tr.gridpager td {
        background-color: #497A28;
        text-align: center;
        padding: 3px;
    }

    table.natificTable tr.gridpager table td {
        border: 1px solid black;
        padding: 3px;
        background-color: #EAEBEF;
    }

        table.natificTable tr.gridpager table td:hover {
            background-color: #B6E074;
        }

    table.natificTable tr.alternate td {
        background-color: #E0EFE5;
    }

.gridviewbutton {
    width: 6em;
    margin: 5px;
}

.gridview_label {
    display: inline-block;
    margin: 5px;
    line-height: 2;
}

.gridview_idfield {
    display: none;
}

/* Header */

.navigation {
    border-bottom: 2px solid #2B3811;
    margin: 0;
    padding: 0;
}

    .navigation img, .navigation input {
        margin-left: 5px;
        display: block;
        float: left;
    }

#logininfo {
    padding-right: 5px;
    color: black;
    font-size: 14px;
    float: right;
}

#lblLoginInfo {
    padding-right: 5px;
    margin-top: 2px;
    display: block;
    float: right;
    bottom: 0;
}

#natificLogo {
    float: right;
    margin-right: 5px;
}

/* Login */

.logindiv {
    width: 100%;
    text-align: center;
    font-weight: bold;
}

    .logindiv input {
        width: 150px;
    }

        .logindiv input[type="checkbox"] {
            width: auto;
        }

    .logindiv span {
        width: 100px;
    }

/* Fastness Prediction */

.recipe_selector {
    background-color: #B6E074;
    border: 1px solid #497A28;
    border-radius: 1em;
    margin: 1em;
    padding: 1em;
    width: 50%;
    height: 7em;
}

.recipe_selector_concentration {
    position: relative;
    vertical-align: central;
}

.flex-container {
    display: flex;
}

    .flex-container > div {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 5px;
    }

.flex-container2 {
    display: flex;
    justify-content: center
}
