body {
    margin: 0;
    padding: 0;
    background: #E7E7E7;
    font: 12px Arial, Helvetica, sans-serif;
    color: #333;
}

a {
    color: #36f;
}

a.nocolor {
    color: #333;
    text-decoration:  none;
}

a:hover {
    text-decoration: none;
}

a.nocolor:hover {
    color: #36f;
}

#header {
    width: 350px;
    margin: 0 auto;
    padding: 25px 0 9px 610px;
    height: 32px;
    line-height: 32px;
    background: url(/img/logo.jpg) 10px 50% no-repeat;
}

#header a.logout {
    float: right;
    width: 77px;
    height: 32px;
    padding: 0 10px 0 25px;
    background: url(/img/btn-logout.png) 0 0 no-repeat;
    text-align: center;
    color: #333;
    text-decoration: none;
}

#mainmenu {
    width: 960px;
    margin: 0 auto;
    height: 115px;
}

#mainmenu ul.menu {
    height: 50px;
    background: url(/img/mainmenu.png) 0 0 repeat-x;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0,0,0,.25); 
    position: relative;
}

#mainmenu ul.menu li {
    float: left;
    margin: 0;
    padding: 0;
}

#mainmenu ul.menu li a {
    float: left;
    height: 20px;
    line-height: 20px;
    padding: 15px 32px 15px 30px;
    background: url(/img/mainmenuborder.png) 100% 0 repeat-y;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    text-shadow: -1px -1px 0 #000;
}

#mainmenu ul.menu li:first-child a {
    border-radius: 5px 0 0 5px;
}

#mainmenu ul.menu li a:hover {
    background-color: rgba(255,255,255,.10);
}

#mainmenu ul.menu li.active a {
    background-color: #111;
}

#mainmenu ul.menu li ul {
    display: none;
    left: 0;
    top: 50px;
    position: absolute;
    width: 934px;
    list-style: none;
    margin: 0 3px;
    padding: 0 10px;
    height: 30px;
    background: url(/img/mainsubmenu.png) 0 -5px repeat-x;
    border-radius: 0 0 5px 5px;
    box-shadow: inset 0 2px 1px rgba(0,0,0,.25),
                0 2px 2px rgba(0,0,0,.25);
    overflow: visible;
}

#mainmenu ul.menu li.active ul {
    display: block;
}

#mainmenu ul.menu li {
    height: 41px;
}

#mainmenu ul.menu li ul li a {
    font-size:  12px;
    color: #555;
    background: none !important;
    margin: 0;
    padding: 2px 20px 0;
    text-shadow: 1px 1px 0 #fff;
    height: 28px;
    line-height: 28px;
    width: auto;
}

#mainmenu ul.menu li ul li a:hover { color: #000; }

#mainmenu ul.menu li ul li.active a {
    font-weight: bold;
    padding-bottom: 11px;
    background: url(/img/mainsubmenuactive.png) 50% 100% no-repeat !important;
}

#content {
    margin: 0 auto;
    width: 960px;
}

#content #flashMessage {
    padding: 5px 30px;
    font-size: 14px;
    color: #999;
    text-shadow: 1px 1px 0 #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    margin-bottom: 30px;
}

#content div.small,
#content div.big,
#content div.full {
    background: #fff;
    border-radius: 5px;
    padding: 30px;
    margin-bottom: 30px;
}

#content div.small { width: 210px; }
#content div.big { width: 600px; }
#content div.full { width: 900px; }

#content div.left {
    float: left;
    margin-right: 30px;
}

#content div.right {
    float: right;
}

#content div.right h1 {
font-size: 15px;
margin: 10px 0 30px;
padding: 0 0 20px;
border-bottom: 1px dotted 
#333;
font-weight: bold;
line-height: 100%;
}

.valoreQuotazione {
    float: left;
    margin: -10px 80px;  
    width:150px; 
    font-size:small;
}

.dataQuotazione {
    float: right;
    font-size: x-small;
}

#content h1 {
    font-size: 20px;
    margin: 0 0 30px;
    padding: 0 0 25px;
    border-bottom: 1px dotted #333;
    font-weight: normal;
    line-height: 100%;
}

#content h2 {
    font-size: 16px;
    margin: 40px 0 5px;
    padding: 0 0 10px;
    border-bottom: 1px dotted #666;
    font-weight: normal;
    line-height: 100%;
}

#content .err, #content .ok {
    display: block;
    border: 1px dotted #c00;
    border-radius: 5px;
    color: #c00;
    padding: 10px 10px 10px 33px;
    background: url(/img/err.png) 10px 50% no-repeat;    
}

#content .ok {
    border-color: #690;
    color: #999;    
    background: url(/img/ok.png) 10px 50% no-repeat;
}


#content table {
    width: 100%;
    border-collapse: collapse;
}

#content table tr th {
    color: #444;
    text-align: left;
}

#content table tr th a, #content table tr th span {
    display: block;
    background: #ddd;
    color: #666;
    text-shadow: -1px -1px 0 #fff;
    padding: 3px 6px;
    margin: 0 1px 0 0;
    border-radius: 3px;
    text-decoration: none;
}

#content table tr th a:hover { color: #000; }

#content table tr th a.asc, #content table tr th a.desc {
    text-shadow: 1px 1px 0 #fff;
    background: #ddd url(/img/sort-asc.png) 95% 50% no-repeat;
}

#content table tr th a.desc {
    background-image: url(/img/sort-desc.png);
}

#content table tr td {
    padding: 3px 6px;
    margin: 0 1px 0 0;
    border-bottom: 1px dotted #999;
}

#content table tr:hover td {
    color: #666;
}

#content .paginator-nav {
    margin: 10px 0 0 0;
    text-align: right;
    padding: 3px 10px;
    background: #ddd;
    border-radius: 5px;
    font-size: 11px;
}

#content .paginator-nav a, #content .paginator-nav span.disabled {
    float: left;
    margin: 0 15px 0 0;
    font-size: 12px;
}

#content .paginator-nav span.disabled {
    color: #fff;
    text-shadow: -1px -1px 0 #aaa;    
}

#content form div.input {
    padding: 10px;
    height: 20px;
    border-bottom: 1px dotted #ccc;
    font-size:10px;
    line-height: 100%;
    color: #999;
}

#content form div.input.select, #content form div.input.textarea {
    height: auto;
}

#content form div.input label {
    float: left;
    font-size: 14px;
    line-height: 20px;
    width: 120px;
    padding-right: 20px;
    color: #333;
}

#content form div.input input {
    float: left;
    width: 200px;
    font-size: 14px;
    margin-right: 20px;
}

#AdjustmentIndexForm div.input input{
    float: none !important;
    width: 46px !important;
    margin: 0 0 0 0  !important;
    display: inline !important;
    
   
}
#AdjustmentIndexForm div.input {
    
    border-bottom: none !important;
    padding: 0 !important;
   
}
 
#content form div.input.checkbox input {
    width: auto;
}

#content form div.submit {
    margin: 20px 0;
}

#content form .error-message {
    color: #c00;
}

form#RecipientIndexForm input[type=text] {
    width: 150px;
}

form#RecipientIndexForm div.submit {
    margin: 0;
    display: inline;
}

#content a.button {
    float: left;
    clear: left;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    color: #666;
    text-shadow: 1px 1px 0 #fff;
    background: #DDD url(/img/footer.png) 50% 100% repeat-x;
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(0,0,0,.5);
    margin: 10px 0;
}

#content a.button.right { float: right; }

#content a.button:hover {
    color: #36f;
}

#content a.button.add {
    padding-left: 30px;
    background: url(/img/button.add.png) 0 50% no-repeat;
}

#content p.border {
    border-top: 1px dotted #666;
    padding-top: 20px;
    margin-top: 20px;
    clear: both;
}

#footer {
    margin: 0 auto 40px;
    width: 900px;
    height: 20px;
    padding: 11px 30px;
    font-size: 12px;
    line-height: 20px;
    color: #666;
    background: url(/img/footer.png) 0 0 repeat-x;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
    border-radius: 5px;
}

#footer a {
    color: #666;
    text-decoration: none;
    margin: 0 0 30px;
}

table.cake-sql-log {
    font: 11px monospace;
    margin: 20px 0;
}

.alert{
    color: #C00;
}