﻿body {
    padding: 0;
    margin: 0;
    font-family: tahoma, verdana, sans-serif;
}

#divHeader {
    background: #FFF;
    margin: 0;
    position: relative;
}

#divContent {
}

#divFooter {
    height: 48px;
}

span, div, th, td, a, label {
    font-family: tahoma, verdana, sans-serif;
    font-size: 8pt;
}

.inputPanel {
}

.dataTableDummy {
}

table.dataTable tr.odd {
    background-color: whitesmoke;
}

input, select, .inputPanel input, .inputPanel select {
    font-family: tahoma, verdana, sans-serif;
    font-size: 7pt;
}

.fixed150 {
    width: 150px;
    min-width: 150px;
}

.searchFields {
    background-image: url('Resources/crosshatch.png');
    font-size: x-small;
    padding-bottom: 8px;
    border-bottom: solid thin gray;
}

.supplierCoreDetailsContent {
    background-image: url('Resources/crosshatch.png');
    /*height:105px;*/
    padding: 4px;
    border-bottom: solid 1px gray;
}

    .supplierCoreDetailsContent td {
        padding-right: 8px;
    }


.vmButton {
    min-width: 90px;
}

.toolbar {
    background-image: url('Resources/background32.png');
    height: 32px;
    width: 100%;
    text-align: right;
}

.errormandatory {
    background-color: #FF8888;
}


.pnlPopup {
    position: absolute;
    border: solid 2px gray;
    display: none;
    /*height:100px;*/
    z-index: 9999;
    background-color: White
}

.windowHeader {
    background-image: url(Resources/header.png);
    background-position: top;
    background-repeat: repeat-x;
    background-color: #700000;
    height: 24px;
    width: 100%;
    position: relative;
    color: Gray;
    font-weight: bold;
    border: solid 1px gray;
    padding-top: 8px;
}

.jqDate {
}

.ui-datepicker {
    font-size: 8pt;
}

.ui-autocomplete > .ui-menu-item {
    font-size: 8pt;
}

.jqMultiSelect {
}

.areaCKEditor {
}

.tblsearch th {
    min-width: 90px;
    font-weight: bold;
}

.datatable td {
    padding: 0 4px 0 4px !important;
    border: transparent;
}

#divHeaderAction {
    padding: 0;
    height: 30px;
    border-top: solid 4px darkblue;
    border-bottom: solid 4px darkblue
}

    #divHeaderAction h2 {
        margin: 0;
        margin: 2px 0 0 8px;
        font-style: italic;
    }

#divHeaderMenu {
    width: 100%;
}

.errortext {
    color: Red;
    font-weight: bold;
}

#divLogoffArea {
    margin-top: 16px;
    text-align: right;
    font-weight: bold;
}

.userName {
    font-style: italic;
    margin: 0 8px 0 8px;
    font-size: medium;
}

legend {
    font-weight: bold;
}



/* Menu ----------------------------- */

/* Main menu */

#menu {
    width: 100%;
    margin: 0;
    padding: 4px 0 0 0;
    list-style: none;
    background: #aaaaaa;
    background: -moz-linear-gradient(#dddddd, #aaaaaa);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #aaaaaa),color-stop(1, #dddddd));
    background: -webkit-linear-gradient(#dddddd, #aaaaaa);
    background: -o-linear-gradient(#dddddd, #aaaaaa);
    background: -ms-linear-gradient(#dddddd, #aaaaaa);
    background: linear-gradient(#dddddd, #aaaaaa);
}

    #menu li {
        float: left;
        padding: 0 0 4px 0;
        position: relative;
        line-height: 0;
    }

    #menu a {
        float: left;
        height: 25px;
        padding: 0 25px;
        color: #222;
        text-transform: uppercase;
        font: bold 12px/25px Arial, Helvetica;
        text-decoration: none;
    }

    #menu li:hover > a {
        color: #fafafa;
    }

    *html #menu li a:hover /* IE6 */ {
        color: #fafafa;
    }

    #menu li:hover > ul {
        display: block;
    }

    /* Sub-menu */

    #menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: none;
        position: absolute;
        top: 29px;
        left: 0;
        z-index: 99999;
        background: #dddddd;
        background: -moz-linear-gradient(#dddddd, #aaaaaa);
        background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #aaaaaa),color-stop(1, #dddddd));
        background: -webkit-linear-gradient(#dddddd, #aaaaaa);
        background: -o-linear-gradient(#dddddd, #aaaaaa);
        background: -ms-linear-gradient(#dddddd, #aaaaaa);
        background: linear-gradient(#dddddd, #aaaaaa);
        -moz-border-radius: 5px;
    }

        #menu ul ul {
            top: 0;
            left: 150px;
        }

        #menu ul li {
            float: none;
            margin: 0;
            padding: 0;
            display: block;
        }

            #menu ul li:last-child {
            }

        #menu ul a {
            padding: 10px;
            height: 10px;
            width: 130px;
            height: auto;
            line-height: 1;
            display: block;
            white-space: nowrap;
            float: none;
            text-transform: none;
        }


            #menu ul a:hover {
                background: #999999;
                background: -moz-linear-gradient(#999999, #999999);
                background: -webkit-gradient(linear, left top, left bottom, from(#999999), to(#999999));
                background: -webkit-linear-gradient(#999999, #999999);
                background: -o-linear-gradient(#999999, #999999);
                background: -ms-linear-gradient(#999999, #999999);
                background: linear-gradient(#999999, #999999);
            }

        #menu ul li:first-child > a {
            -moz-border-radius: 5px 5px 0 0;
            border-radius: 5px 5px 0 0;
        }

            #menu ul li:first-child > a:after {
                content: '';
                position: absolute;
                left: 30px;
                top: -8px;
                width: 0;
                height: 0;
                border-left: 5px solid transparent;
                border-right: 5px solid transparent;
                border-bottom: 8px solid #dddddd;
            }

        #menu ul ul li:first-child a:after {
            left: -8px;
            top: 12px;
            width: 0;
            height: 0;
            border-left: 0;
            border-bottom: 5px solid transparent;
            border-top: 5px solid transparent;
            border-right: 8px solid #dddddd;
        }

        #menu ul li:first-child a:hover:after {
            border-bottom-color: #999999;
        }

        #menu ul ul li:first-child a:hover:after {
            border-right-color: #999999;
            border-bottom-color: transparent;
        }


        #menu ul li:last-child > a {
            -moz-border-radius: 0 0 5px 5px;
            border-radius: 0 0 5px 5px;
        }

    /* Clear floated elements */
    #menu:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

* html #menu {
    zoom: 1;
}
