html, body, h1, h2, h3, h4, ul, li {
    margin: 0;
    padding: 0;
}

    h1 img {
        display: block;
    }

img {
    border: 0;
}

a {
    color: #464544;
}

    a:hover {
        color: #FFA405;
    }

.left {
    float: left;
}

.right {
    float: right;
}

.more {
    text-align: right;
}

.clear {
    clear: both;
}

body {
    background: #E0D5B7 url(../images/page_bg.jpg) repeat-x;
    font: 11px verdana, arial, sans-serif;
    color: #74653D;
    text-align: center;
    width: 1200px;
    position: absolute;
    padding-bottom: 0;
    top: 0px;
    left: 0px;
}

/** layout **/
#wrapper {
    text-align: left;
    width: 1300px;
    margin: auto;
    position: relative;
    background: url(../images/body_bg.gif) repeat-y;
}

#headerline {
    background: url(../images/headerlinenew.gif) no-repeat;
    width: 1295px;
    height: 10px;
    margin-top: 0px;
    display: block;
    font-size: 1px;
}

#header {
    position: absolute;
    top: 0;
    text-align: right;
    margin: 15px 0px 0px 110px;
    left: 360px;
    width: 55%;
    height: 70px;
    background: url(../images/logo.png) no-repeat;
}
#headerfb {
    position: absolute;
    /*top: 0;*/
    /*text-align: right;*/
    /*margin: 15px 0px 0px 110px;*/
    width: 55%;
    height: 70px;
    background: url(../images/logo.png) no-repeat;
}
#LoginInfo {
    position: absolute;
    top: 0;
    text-align: left;
    margin: 15px 0px 0px 250px;
    width: 313px;
    height: 51px;
    left: 243px;
}

#left {
    float: left;
    width: 200px;
}

#logo {
    width: 200px;
    height: 152px;
    background: url(../images/header_1.jpg) no-repeat;
    color: #595959;
}

    #logo h1 {
        padding-top: 30px;
        margin: 0px 0px 0px 60px;
        font: 18px "arial narrow", arial, sans-serif;
    }

    #logo p {
        margin: 8px 25px 4px 25px;
        border-top: 1px solid #B8B8B8;
        border-bottom: 1px solid #B8B8B8;
        padding: 3px;
        letter-spacing: 0.2em;
        font-weight: bold;
    }

#logoLogin {
    width: 244px;
    height: 152px;
    background: url(../images/header_1_login.jpg) no-repeat;
    text-align: center;
    color: #595959;
}

    #logoLogin h1 {
        padding-top: 30px;
        font: 24px "arial narrow", arial, sans-serif;
    }

    #logoLogin p {
        margin: 8px 25px 4px 25px;
        border-top: 1px solid #B8B8B8;
        border-bottom: 1px solid #B8B8B8;
        padding: 3px;
        letter-spacing: 0.2em;
        font-weight: bold;
    }

#nav {
    background: url(../images/nav_left.jpg) no-repeat;
}

    #nav ul {
        margin-left: 9px;
        padding-left: 1px;
        padding-bottom: 29px;
        background: #2A2A2A bottom left url(../images/nav_bot.jpg) no-repeat;
    }

    #nav li {
        list-style: none;
        font: 14px "arial narrow", arial, sans-serif;
        border-top: 1px solid #959595;
        background: 188px 10px url(../images/arr_white.gif) no-repeat;
        padding: 7px 0 0 31px;
    }

    #nav a {
        color: #fff;
        text-decoration: none;
        /*border-left: 1px solid #959595;*/
        padding-left: 10px;
        display: block;
        width: 90%;
        padding: 2px 0 6px 8px;
    }

        #nav a:hover {
            text-decoration: underline;
        }

    #nav .important {
        border: none;
        background: 188px 10px url(../images/arr_orange.gif) no-repeat;
    }

        #nav .important a {
            color: #E9C379;
        }



#news {
    background: url(../images/news_bg.jpg) repeat-y;
    height: 220px;
    padding-left: 37px;
    padding-right: 22px;
    padding-bottom: 3px;
    text-align: justify;
}

    #news h2 {
        font-size: 12px;
        color: #BE8B06;
    }

    #news h3, #news p {
        font-size: 11px;
        margin: 1em 8px 1em 0;
    }

    #news a {
        color: #74653D;
        font-weight: bold;
        text-decoration: underline;
    }

        #news a:hover {
            color: #38301A;
        }

    #news .more {
        font-size: 9px;
    }

    #news .hr-dots {
        background: center url(../images/dots.gif) repeat-x;
        height: 10px;
    }

#right {
    float: left;
    width: 500px;
    padding-top: 40px;
    height: 1px;
}

    #right h2 {
        font: 18px arial, sans-serif;
        color: #BE8B06;
        border-bottom: 1px solid #C4AE7C;
        padding-bottom: 6px;
        margin-bottom: 1em;
    }

    #right h3 {
        font: 14px arial, sans-serif;
        color: #BE8B06;
        border-bottom: 1px solid #C4AE7C;
        padding-bottom: 6px;
        margin-bottom: 1em;
        margin-top: 2em;
    }

#welcome {
    margin-right: 20px;
}

#profile {
    margin-right: 16px;
}

#right .left {
    margin-right: 18px;
}

#right .more {
    font-weight: bold;
    font-size: 10px;
}

#corp, #indu {
    float: left;
    width: 49%;
}

#corp {
    margin-right: 1%;
}

#corp-img, #indu-img {
    background: url(../images/pic_2.jpg) no-repeat;
    width: 112px;
    height: 23px;
    float: left;
    margin-right: 18px;
    text-align: center;
    padding-top: 90px;
    font-size: 9px;
    font-weight: bold;
}

#indu-img {
    background: url(../images/pic_3.jpg) no-repeat;
}

#spacer {
    height: 2em;
}

#footer {
    background: url(../images/footer_bg.gif) repeat-y;
}

#copyright {
    text-align: center;
    padding: 22px 0px 30px 00px;
    font-size: 9px;
    color: #715F36;
    font-weight: bold;
}

#footerline {
    background: url(../images/footerline.gif) no-repeat;
    height: 10px;
    margin-top: 0px;
    display: block;
    font-size: 1px;
}

/** Menu **/

#navigation {
    background: url(../images/nav_left.jpg) no-repeat;
}

    #navigation ul {
        margin-left: 9px;
        padding-left: 1px;
        padding-bottom: 29px;
        background: #2A2A2A bottom left url(../images/nav_bot.jpg) no-repeat;
    }

    #navigation li {
        list-style: none;
        font: 15px "arial narrow", arial, sans-serif;
        border-top: 1px solid #959595;
        background: 148px 10px url(../images/arr_white.gif) no-repeat;
        padding: 7px 0 0 31px;
    }

ul.top-level {
    background: #666;
}

    ul.top-level li {
        border-bottom: #fff solid;
        border-top: #fff solid;
        border-width: 1px;
    }

#navigation a {
    color: #fff;
    text-decoration: none;
    /*border-left: 1px solid #959595;*/
    /*padding-left: 5px;*/
    display: block;
    width: 70%;
    padding: 2px 0 6px 8px;
}

    #navigation a:hover {
        /*text-decoration: underline;*/
    }

#navigation li:hover {
    background: #f90;
    position: relative;
}

ul.sub-level {
    display: none;
}

li:hover .sub-level {
    background: #999;
    border: #fff solid;
    border-width: 1px;
    display: block;
    position: absolute;
    left: 100px;
    top: 5px;
}

ul.sub-level li {
    border: none;
    float: left;
    width: 140px;
}

/*Seconda Level*/
#navigation .sub-level {
}

    /*Third Level*/
    #navigation .sub-level .sub-level {
    }

/*RESET STYLES*/
li:hover .sub-level .sub-level {
    display: none;
}

.sub-level li:hover .sub-level {
    display: block;
}

/* Column One */

#col-one {
    float: right;
    width: 350px;
    margin: 50px 0 15px 10px;
}

    #col-one .boxed {
        margin-bottom: 10px;
    }

        #col-one .boxed .title {
            height: 20px;
            padding: 10px 0 0 10px;
            background: url(../images/img09.gif) no-repeat;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 12px;
            color: #FFFFFF;
        }

        #col-one .boxed .content {
            padding: 9px;
            background: #E8EDE5 url(../images/img03.gif) repeat-x;
            border: 1px solid #977C44;
        }

            #col-one .boxed .content form {
            }

            #col-one .boxed .content fieldset {
                border: none;
            }

            #col-one .boxed .content legend {
                display: none;
            }

            #col-one .boxed .content label {
                display: block;
                font-size: xx-small;
                font-weight: bold;
            }

            #col-one .boxed .content .textfield {
                width: 190px;
                margin: 0 0 5px 0;
                padding: 3px 5px;
                border: 1px solid #C8C8C8;
                background: #FAFAFA url(../images/img04.gif) repeat-x;
                font: normal x-small Verdana, Arial, Helvetica, sans-serif;
                color: #464646;
            }

            #col-one .boxed .content .button {
                float: right;
                width: 90px;
                height: 18px;
                margin: 0 0 15px 60px;
                padding: 0;
                border: 1px solid #464646;
                background: #FAFAFA url(../images/img05.gif) repeat-x;
                font: normal x-small Verdana, Arial, Helvetica, sans-serif;
                color: #464646;
            }

            #col-one .boxed .content .tiny {
                clear: both;
                margin: 0;
                font-size: x-small;
            }

                #col-one .boxed .content .tiny a {
                    padding: 0 0 0 11px;
                    background: url(../images/img06.gif) no-repeat left bottom;
                }

#maindivdesign {
    color: black;
    width: 1080px;
}

.tabdesign {
    color: black;
    width: 1080px;
}

.tab {
    border: 1px solid #DDD;
}

    .tab .ajax__tab_body {
        /*padding: 10px;*/
    }

    .tab .ajax__tab_header {
        font-family: Tahoma;
        /*text-transform:uppercase;*/
        font-size: 12px;
        font-weight: bold;
        background: #CCCCFF;
        border-bottom: 1px solid #bbb;
        border-top: 1px solid #BBB;
    }

        .tab .ajax__tab_header .ajax__tab_active .ajax__tab_outer {
            height: 20px;
            background: #F3E2A9;
        }

        .tab .ajax__tab_header .ajax__tab_active .ajax__tab_tab {
            background: #F3E2A9;
            height: 18px;
            padding: 5px 7px 0px 7px;
            margin: 0px;
            border: 0;
            color: #333;
        }

        .tab .ajax__tab_header .ajax__tab_active .ajax__tab_inner {
            padding-left: 3px;
            background: #fff;
            border-right: 1px solid #bbb;
            border-left: 1px solid #bbb;
            border-bottom: 0;
        }

    .tab .ajax__tab_tab {
        /*padding: 7px;*/
        color: #333;
        border-right: 1px solid #bbb;
        border-left: 1px solid #bbb;
    }



.datagrid table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

.datagrid {
    font: normal 12px/150% Arial, Helvetica, sans-serif;
    background: #fff;
    overflow: hidden;
    border: 1px solid #A65B1A;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

    .datagrid table td, .datagrid table th {
        padding: 3px 10px;
    }

    .datagrid table thead th {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #A65B1A), color-stop(1, #7F4614) );
        background: -moz-linear-gradient( center top, #A65B1A 5%, #7F4614 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A65B1A', endColorstr='#7F4614');
        background-color: #A65B1A;
        color: #FFFFFF;
        font-size: 15px;
        font-weight: bold;
        /*border-left: 1px solid #BF691E;*/
    }

        .datagrid table thead th:first-child {
            border: none;
        }

    .datagrid table tbody td {
        color: #7F4614;
        /*border-left: 1px solid #D9CFB8;*/
        font-size: 12px;
        font-weight: normal;
    }

    .datagrid table tbody .alt td {
        background: #D7C4B0;
        color: #7F4614;
    }

    .datagrid table tbody td:first-child {
        border-left: none;
    }

    .datagrid table tbody tr:last-child td {
        border-bottom: none;
    }

    .datagrid table tfoot td div {
        border-top: 1px solid #A65B1A;
        background: #F0E5CC;
    }

    .datagrid table tfoot td {
        padding: 0;
        font-size: 12px;
    }

        .datagrid table tfoot td div {
            padding: 2px;
        }

        .datagrid table tfoot td ul {
            margin: 0;
            padding: 0;
            list-style: none;
            text-align: right;
        }

    .datagrid table tfoot li {
        display: inline;
    }

        .datagrid table tfoot li a {
            text-decoration: none;
            display: inline-block;
            padding: 2px 8px;
            margin: 1px;
            color: #FFFFFF;
            border: 1px solid #A65B1A;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            border-radius: 3px;
            background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #A65B1A), color-stop(1, #7F4614) );
            background: -moz-linear-gradient( center top, #A65B1A 5%, #7F4614 100% );
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A65B1A', endColorstr='#7F4614');
            background-color: #A65B1A;
        }

    .datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover {
        text-decoration: none;
        border-color: #7F4614;
        color: #FFFFFF;
        background: none;
        background-color: #A65B1A;
    }

div.dhtmlx_window_active, div.dhx_modal_cover_dv {
    position: fixed !important;
}

/* TEXTBOX STYLE*/

.txtlabel {
    background-color: #ffffff;
    color: #7F4614;
    font-size: 13px;
    font-weight: normal;
}

/* DROP DOWN LIST STYLE*/

.ddlStyle {
    color: #7F4614;
    width: 205px;
    font-size: 11px;
    font-weight: normal;
}

.ddlSmallStyle {
    color: #7F4614;
    width: 100px;
    font-size: 11px;
    font-weight: normal;
}

.divbutton {
    text-align: center;
}

.grdHeader {
    background-color: #CCCCFF;
    color: #6C6258;
    font-weight: bolder;
    font-size: 13px;
    height: 30px;
}

.grdpage {
    background-color: #F5DEB3;
    color: #000000;
    font-size: 13px;
}

.grdAItem {
    background-color: #E2D4C6;
    color: #000000;
    font-size: 10px;
}

.grdItem {
    color: #000000;
    font-size: 12px;
    word-wrap: break-word;
}

.lableerror {
    color: red;
}

.validator {
    color: white;
}

.btnCSS {
    height: 23px;
}

.input {
    border: thin solid #999999;
    background-color: #CCCCCC;
    height: 20px;
    color: #333333;
    font-family: trebuchet MS, Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
    font-size: 11px;
    text-decoration: none;
}

.upload {
    border: thin solid #999999;
    background-color: #CCCCCC;
    height: 20px;
    width: 80px;
    color: #333333;
    font-family: trebuchet MS, Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
    font-size: 11px;
    text-decoration: none;
}

.button {
    border: thin solid #333333;
    background-color: #333333;
    height: 0px;
    color: #FFFFFF;
    font-family: trebuchet MS, Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
    font-size: 11px;
    text-decoration: none;
}


.btnsearch {
    background: url("../Images/search.jpg");
    width: 40px;
    height: 20px;
    border: none;
}

.watermarked {
    /*height: 20px;
            width: 150px;
            padding: 2px 0 0 2px;
            border: 1px solid #BEBEBE;
            background-color: #F0F8FF;*/
    background-color: #ffffff;
    color: gray;
}





.Grid {
    background-color: #fff;
    margin: 5px 0 10px 0;
    border: solid 1px #525252;
    border-collapse: collapse;
    color: #474747;
}

    .Grid td {
        padding: 2px;
        border: solid 1px #c1c1c1;
    }

    .Grid th {
        padding: 4px 2px;
        /*background: #363670 url(../Images/grid-header.png) repeat-x top;*/
        background-color: #D7C4B0;
        color: #6C6258;
        border-left: solid 1px #525252;
        font-size: 0.9em;
    }

    .Grid .alt {
        /*background: #fcfcfc url(../Images/grid-alt.png) repeat-x top;*/
        background-color: #E2D4C6;
    }

    .Grid .pgr {
        background-color: #D7C4B0;
        color: #6C6258; /*background: #363670 url(../Images/grid-pgr.png) repeat-x top;*/
    }

        .Grid .pgr table {
            margin: 3px 0;
        }

        .Grid .pgr td {
            border-width: 0;
            padding: 0 6px;
            border-left: solid 1px #666;
            font-weight: bold;
            color: #fff;
            line-height: 12px;
        }

        .Grid .pgr a {
            color: Gray;
            text-decoration: none;
        }

            .Grid .pgr a:hover {
                color: #000;
                text-decoration: none;
            }


.Tabledesign {
    border: 1px solid #A65B1A;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}


.ajax__calendar_header {
    /*background-color: #808080;*/
    background-color: #ffffff;
    margin-bottom: 4px;
}

.ajax__calendar_footer {
    background-color: #B8B8B8;
}
.ajax__calendar_body {}

.ajax__calendar_dayname {
    background-color: #D8D8D8;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4px;
    margin-top: 2px;
}
.ajax__calendar_container {
    border: solid 1px #300808;
    background: #CCCCFF;
    color: #080808;
}
.ajax__calendar_today .ajax__calendar_day {
    font-weight: bold;
    color: #004080;
    background-color: #ffffff;
}
.ajax_calendar_invalid:hover {
    color: gray;
    text-decoration: overline;
    cursor: default;
}

.headinglable {
    height: 20px;
    width: 100%;
    text-transform: uppercase;
    font-size: 12px;
    /*background: url(../images/ImageHeader.GIF) no-repeat;*/
    color: #A65B1A;
    font: bold;
    background-color: #CCCCFF;
    /*background-color:#80C1FF;*/
    font-size: large;
}

.btn {
    border: 1px solid #464646;
    background: #D8D8D8;
    color: #7F4614;
}