body {
    font-family: 'Trebuchet MS';
    font-size: 13px;
    color: #333;
    background: #262a33 url(../img/bg.jpg);
    overflow-y: scroll;
    margin: 0 0 30px 0;
}

.body {
    background: #f1f1f1;
}

.clearfix { 
    clear: both;
}

textarea,
input,
select {
    transition: 0.2s;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 0 0 4px #eee;
    -moz-box-shadow: 0 0 4px #eee;
    -webkit-box-shadow: 0 0 4px #eee;
    border: 1px solid #ccc;
    padding: 4px 7px;
    margin: 5px 0;
    font-family: 'Trebuchet MS';
    font-size: 12px;
    color: #333;
}

textarea:focus,
input:focus,
select:focus {
    box-shadow: 0 0 4px #29b5fd;
    -moz-box-shadow: 0 0 4px #29b5fd;
    -webkit-box-shadow: 0 0 4px #29b5fd;
    border: 1px solid #29b5fd;
}

input.red {
    border: 1px solid #ff0000;
    box-shadow: 0 0 4px #ff0000;
    -moz-box-shadow: 0 0 4px #ff0000;
    -webkit-box-shadow: 0 0 4px #ff0000;
}

input.submit {
    background: url(../img/button.png) 0 0;
    color: #666;
    text-shadow: 1px 1px #fff;
    transition: 0s;
    -moz-transition: 0s;
    -webkit-transition: 0s;
}

input.submit:hover {
    background: url(../img/button.png) 0 -30px;
    border: 1px solid #aaa;
    cursor: pointer;
}

input.submit:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid #aaa;
}

textarea {
    width: 400px;
    height: 80px;
}

select {
    width: 200px;
}

div.loading {
    background: url(../img/load.gif) no-repeat center;
    height: 16px;
}

div.line {
    border-bottom: 1px dotted #bbb;
    margin: 15px 0;
}

.bold { font-weight: bold; }

a { color: #0a82c0; text-decoration: none; }
a:hover { text-decoration: underline; }
img { border: none; }
:focus { outline: none; }

div#login {
    background-color: #fff;
    font-size: 12px;
    color: #666;
    width: 260px;
    margin: 50px auto 0 auto;
    padding: 20px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

div#login input.password  {
    width: 245px;
    font-size: 13px;
    padding: 6px;
}

div#login div#light {
    background: url(../img/light.png) no-repeat;
    width: 900px;
    height: 500px;
    position: absolute;
    z-index: -1;
    margin: -70px 0 0 -300px;
}

div#wrapper {
    width: 1000px;
    background: #fff url(../img/wrapper_bg.gif) repeat-y;
    margin: 0 auto;
    min-height: 500px;
    border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -webkit-border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-bottom-left-radius: 10px;
    overflow: hidden;
}

div#wrapper div.left {
    border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-bottom-left-radius: 10px;
    width: 200px;
    min-height: 500px;
    float: left;
    color: #fff;
}

div#wrapper div.left div.content {
    padding: 10px 0;
}

div#wrapper div.left img {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 0 0 10px 20px;
}

div#wrapper div.left a {
    display: block;
    color: #ccc;
    line-height: 30px;
    padding: 0 15px;
    text-shadow: 1px 1px #000;
    transition: 0.2s;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
}

div#wrapper div.left a:hover {
    background-color: #191b21;
    text-decoration: none;
    padding: 0 15px 0 20px;
}

div#wrapper div.left a.current,
div#wrapper div.left a.current:hover {
    /*background-color: #0d0e11;*/
    background-color: #fff;
    text-decoration: none;
    /*text-align: right;*/
    /*color: #fff;*/
    color: #000;
    text-shadow: none;
    font-weight: bold;
}

div#wrapper div.left a span { padding-left: 23px; }
span.calendar { background: url(../img/icons/calendar.png) no-repeat; }
span.work { background: url(../img/icons/work.png) no-repeat; }
span.bill { background: url(../img/icons/bill.png) no-repeat; }
span.offer { background: url(../img/icons/offer.png) no-repeat; }
span.clients { background: url(../img/icons/clients.png) no-repeat; }
span.cars { background: url(../img/icons/car.png) no-repeat; }
span.employees { background: url(../img/icons/employee.png) no-repeat; }
span.storage { background: url(../img/icons/storage.png) no-repeat; }
span.car_database { background: url(../img/icons/car_database.png) no-repeat; }
span.settings { background: url(../img/icons/settings.png) no-repeat; }

div#wrapper div.left #cars,
div#wrapper div.left #work {
    font-size: 12px;
}

div#wrapper div.left #cars a,
div#wrapper div.left #work a { padding: 0 20px 0 35px; }
div#wrapper div.left #cars a:hover,
div#wrapper div.left #work a:hover { padding: 0 20px 0 40px; }

div#wrapper div.left div#storage_links {
    font-size: 12px;
}

div#wrapper div.left div#storage_links a {
    color: #fff;
    line-height: 24px;
    padding: 0 15px 0 20px;
    border-bottom: 1px dotted #555;
}

div#wrapper div.left div#storage_links a.current {
    color: #000;
    border-bottom: none;
}

div#wrapper div.right {
    width: 800px;
    float: left;
}

div#wrapper div.right div.content { padding: 20px; }
div#wrapper div.right div.top { overflow: hidden; background-color: #525b6e; line-height: 30px; color: #fff; font-size: 12px; text-shadow: 1px 1px #303541; }
div#wrapper div.right div.top a { color: #fff; }
div#wrapper div.right div.top div.clock { float: left; padding-left: 20px; }
div#wrapper div.right div.top div.logout { float: right; }
div#wrapper div.right div.top div.logout a { display: block; padding: 0 20px; transition: 0.2s; -moz-transition: 0.2s; -webkit-transition: 0.2s; }
div#wrapper div.right div.top div.logout a:hover { text-decoration: none; background-color: #262a33; }

input.text { width: 250px; }

table.table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
}

table.table th {
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px #303541;
    background-color: #525b6e;
    color: #fff;
    padding: 10px;
    cursor: default;
}

table.sortable th:hover {
    background-color: #464e5f;
    cursor: pointer;
}

table.sortable th.current {
    background-color: #727d99;
    text-align: center;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

table.sortable th.current:hover {
    cursor: default;
}

table.sortable th.normal:hover {
    background-color: #525b6e;
    cursor: default;
}

table.sortable td.current {
    background-color: #e5e5e5;
    border-bottom: 1px solid #ccc;
    text-shadow: 1px 1px #f5f5f5;
    color: #000;
}

table.sortable tr:nth-child(even) td.current {
    background-color: #f5f5f5;
    border-bottom: none;
}

table.table td {
    padding: 10px;
}

table.table tr:nth-child(odd) {
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

table.table tr:first-child {
    border: none;
}

table.sortable tr.unpaid {
    background-color: #ffa7a7;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    text-shadow: 1px 1px #ffc9c9;
}

table.sortable tr.unpaid td.current {
    background-color: #e59797;
    border-bottom: 1px solid #fff;
    text-shadow: none;
    color: #000;
}

table.sortable tr.paid {
    background-color: #bcffa7;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    text-shadow: 1px 1px #e2ffd9;
}

table.sortable tr.paid td.current {
    background-color: #a7e295;
    border-bottom: 1px solid #fff;
    text-shadow: none;
    color: #000;
}

table.sortable tr.pay {
    background-color: #bed5ec;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    text-shadow: 1px 1px #ddeeff;
}

table.sortable tr.pay td.current {
    background-color: #aabfd3;
    border-bottom: 1px solid #fff;
    text-shadow: none;
    color: #000;
}

table.sortable tr.unpaid a,
table.sortable tr.paid a,
table.sortable tr.pay a {
    color: #000;
}

table.sortable tr.same {
    background-color: #f1f1f1;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

table.sortable tr.same td.current {
    background-color: #ddd;
    border-bottom: 1px solid #fff;
    text-shadow: none;
    color: #000;
}

div.pg {
    text-align: center;
    cursor: default;
    margin-bottom: 15px;
}

div.pg a {
    color: #666;
    font-weight: bold;
    background-color: #f1f1f1;
    padding: 3px 7px;
    margin-right: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-shadow: 1px 1px #fff;
}

div.pg a:hover {
    text-decoration: none;
    background-color: #ddd;
    border: 1px solid #aaa;
    color: #222;
}

div.pg a.current {
    background-color: #525b6e;
    border: 1px solid #444;
    color: #fff;
    text-shadow: 1px 1px #303541;
}

a.button {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 0 0 4px #eee;
    -moz-box-shadow: 0 0 4px #eee;
    -webkit-box-shadow: 0 0 4px #eee;
    border: 1px solid #ccc;
    padding: 4px 7px;
    margin: 5px 0;
    font-size: 12px;
    color: #333;
    background: url(../img/button.png) 0 0;
    color: #666;
    text-shadow: 1px 1px #fff;
}

a.button:hover {
    background: url(../img/button.png) 0 -30px;
    border: 1px solid #aaa;
    text-decoration: none;
}

a.sm { padding: 1px 5px; }
a.red { color: #888; }
a.red:hover { color: #f16565; text-decoration: none; }
a.delete { border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background-color: #6ea7d1; color: #fff; padding: 0 7px 2px 7px; margin-left: 10px; font-weight: bold; font-size: 14px; }
a.delete:hover { background-color: #000; text-decoration: none; }

div.error { background-color: #ffc5c5; border: 1px solid #d3a2a2; padding: 5px 10px; font-weight: bold; font-size: 12px; color: #764949; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; line-height: 18px; }
div.msg { background-color: #fbef74; border: 1px solid #dad06a; padding: 5px 10px; font-weight: bold; font-size: 12px; color: #6b664c; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; line-height: 18px; margin-bottom: 10px; }

div.main_logo { margin-bottom: 10px; }
div.main_logo img {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

div.search_results {
    background-color: #fff;
    width: 600px;
    font-size: 12px;
    position: absolute;
    z-index: 500;
    max-height: 500px;
    padding: 3px;
    border: 1px solid #a6c9e2;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    overflow: auto;
}

div.search_results a {
    display: block;
    color: #2e6e9e;
    font-weight: bold;
    padding: 5px;
    overflow: hidden;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

div.search_results a:nth-child(odd) {
    background-color: #ebf5ff;
}

div.search_results a:hover {
    background-color: #262a33;
    text-decoration: none;
    color: #fff;
}

div.search_results a span {
    display: block;
    float: left;
    white-space: nowrap;
    overflow: hidden;
}

div.search_results a span.name { width: 180px; }
div.search_results a span.make { width: 200px; }
div.search_results a span.engine { width: 50px; }
div.search_results a span.year { width: 50px; }
div.search_results a span.vn { width: 80px; }
div.search_results a span.vin { display: none; }

span.amount {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    background-color: #5b99c7;
    text-shadow: 1px 1px #46769a;
    padding: 4px 8px;
    color: #fff;
    font-weight: bold;
}

span.none {
    background-color: #ff0000;
    text-shadow: 1px 1px #aa0000;
}