﻿body {
    font-family: Cambria, Georgia, "Times New Roman";
    margin: 0;
}

div#header div.title, div.item h3, div.item h4, div.pager a {
    font: bold 1em "Arial Narrow", "Franklin Gothic Medium", Arial;
}

div#header {
    background-color: #444;
    border-bottom: 2px solid #111;
    color: white;
}

    div#header div.title {
        font-size: 2em;
        padding: .6em;
    }

.loginContainer {
    padding: 10px;
    text-align: center;
}

    .loginContainer label {
        display: inline-block;
        width: 150px;
        margin: 5px;
    }

    .loginContainer input {
        width: 150px;
        margin: 5px;
    }

    .loginContainer button {
        margin-top: 10px;
    }

.adminContent {
    margin: 20px 0;
    border: solid thin black;
    padding: 5px;
}

div#categories {
    float: left;
    width: 8em;
    padding: .3em;
}

div#content {
    border-left: 2px solid gray;
    margin-left: 9em;
    padding: 1em;
}

.divItem{
    margin:20px;
}


div#categories {
    float: left;
    width: 8em;
    padding: .3em;
}

div.item {
    border-top: 1px dotted gray;
    padding-top: .7em;
    margin-bottom: .7em;
}
    div.item button {
        color: White;
        background-color: #333;
        border: 1px solid black;
        margin: 0px 5px 0px 5px;
        float: right;
    }

    div.item:first-child {
        border-top: none;
        padding-top: 0;
    }

    div.item h3 {
        font-size: 1.3em;
        margin: 0 0 .25em 0;
    }

    div.item h4 {
        font-size: 1.1em;
        margin: .4em 0 0 0;
    }

div.pager {
    text-align: right;
    border-top: 2px solid silver;
    padding: .5em 0 0 0;
    margin-top: 1em;
}

    div.pager a {
        font-size: 1.1em;
        color: #666;
        text-decoration: none;
        padding: 0 .4em 0 .4em;
    }

        div.pager a:hover {
            background-color: Silver;
        }

        div.pager a.selected {
            background-color: #353535;
            color: white;
        }

h1.title {
    background-color: black;
    color: white;
    width: 100%;
    text-align: center;
}

div#nav {
    text-align: center;
}

    div#nav a {
        font: bold 1.1em "Arial Narrow","Franklin Gothic Medium",Arial;
        display: inline-block;
        color: black;
        padding: 6px;
        border: solid medium black;
        text-decoration: none;
        width: 200px;
        text-align: center;
    }

        div#nav a:hover {
            background: #888;
            color: white;
        }


#ordersCheck {
    font: bold 1.1em "Arial Narrow","Franklin Gothic Medium",Arial;
    margin-top: 10px;
    text-align: center;
}

div.outerContainer {
    text-align: center;
}

table {
    display: inline-block;
    text-align: left;
    margin: 20px 0;
}

    table th, table td {
        text-align: left;
        width: 100px;
        padding: 0px 10px;
    }

#ordersTable th:nth-last-child(2), #ordersTable td:nth-last-child(2) {
    text-align: right;
}

#productsTable td.description span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 150px;
    display: inline-block;
}

#productsTable td:last-of-type {
    width: 210px;
}

#productsTable input[type=submit] {
    width: 100px;
    padding: 8px;
}

#advicesTable td.description span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 150px;
    display: inline-block;
}

#advicesTable td:last-of-type {
    width: 210px;
}

#advicesTable input[type=submit] {
    width: 300px;
    padding: 8px;
}



.error {
    color: red;
    text-align: center;
    margin: 10px;
}
