﻿body {
    background-color: #fff;
    font-family: Arial, Verdana;
    font-size: 80%;
    margin: 0;
}
a {
    color: #00A15D !important;
    text-decoration: none;
}
iframe {
    border: none;
}
img {
    border: none;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}
ol
{
    padding: 0 0 0 20px;
}
/*  messages */
#messages {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 5000;
}
#messages .message {
    background-color: #00A15D;
    color: #fff;
    display: none;
    padding: 12px;
}
#messages .message.warning {
    background-color: #a10000;
}
#password-auth
{
    display: none;
}
 .error {
    color: #a10000;
    margin-bottom: 10px;
    border: solid 1px #a10000;
    border-radius: 3px;
    display: inline-block;
    padding: 3px 5px;
    background-color: #FEEFEA;
}

/*  general classes */
a.assign
{
     font-size: 11px;
     color: #999 !important;
     margin: 0 0 0 10px;
}
table.three-seven-four
{
    width: 864px;
}
.button {
    background-color: #00A15D;
    border-radius: 5px;
    color: #fff !important;
    display: inline-block;
    line-height: 30px;
    padding: 0 10px;
}
.button.red {
    background-color: #a10000;
}
.button.large {
    width: 100%;
    text-align: center;
    padding: 0;
}
.button:hover {
    background-color: #0066A4;
}
.bg-grey {
    background-color: #E5E5E5;
}
.thick-bordered {
    border: solid 3px #E5E5E5;
    border-radius: 10px;
}
.clear {
    clear: both;
}
.highlight {
    background-color: #eee;
}
.hidden {
    display: none;
}
.icon {
    margin-right: 10px;
    padding-left: 20px;
    position: relative;
}
.icon:before {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
/*--adjust as necessary--*/
    color: #00A15D;
    font-size: 15px;
    position: absolute;
    top: 0;
    left: 0;
}
.icon.view-asset:before, .icon.view-jobcard:before, .icon.view-contract:before, .icon.view-location:before, .icon.view-user:before, .icon.view-category:before, .icon.view-servicelevel:before, .icon.view-jobcardstatus:before
{
    content: "\f115";
}
.icon.new-job:before {
    content: "\f006";
}
.icon.current-repair:before {
    content: "\f0ad";
}
.icon.convert-jobcard:before {
    content: "\f0ec";
}
.icon.impersonate:before {
    content: "\f0c0";
}
.manufacturer .edit-panel
{
    display: none;
    line-height: 2.7;
}
.padded {
    padding: 10px;
}
.panel {

}
.pdf-link.small
{
     background: url(icon-pdf-small.gif) no-repeat center left;
     padding-left: 20px;
     line-height: 2;
}
.underline {
    text-decoration: underline;
}
.right
{
    float: right;
    margin-left: 10px;
}
.spaced-left-right {
    margin: 0 20px;
}
.spaced-top {
    margin-top: 20px;
}
.toolbar {
    background-color: #E5E5E5;
    border-radius: 5px;
    margin: 0 0 20px 0;
    padding: 10px;
}
.toolbar.bottom {
    margin: 20px 0 0 0;
}

#login {
    margin: 40px auto 0 auto;
    width: 480px;
}
#login .login, #login .forgotten{
    text-align: center;
}
#login a.login-forgotten {
    margin: 0 10px;
}
#login .login .edit-form{
    margin: 0 auto;
}
#login .login .edit-form.remember{
    width: 290px;
}
#login .login .edit-form span, #login .forgotten .edit-form .label, #login .forgotten .edit-form .input{
    display: inline-block;
    min-width: 97px;
    text-align: right;
}
#logo {
    padding-bottom:25px;
    text-align: center;
}

#controller
{
    padding-left: 20px;
    margin: 0 0 20px;
}

#header {
    margin: 0 0 20px 0;
}
#header #user {
    color: #434343;
    float: right;
    margin: 20px;
}
#header #user a {
    font-weight: bold;
}
#header img {
    float: left;
    margin: 0 40px 0 0;
}
#header ul {
    display: inline-block;
    list-style-type: none;
    margin: 90px 0 0 0;
    padding: 0;
}
#header ul li {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#header ul li a {
    color: #434343;
    display: inline-block;
    font-size: 140%;
    line-height: 30px;
    padding: 0 10px;
}
#header ul li.on a {
    color: #BABABA;
}
#content {
    margin: 20px;
}
#content div.panel-left {
    display: inline-block;
}
#content div.panel-left h1 a {
    font-size: 12px;
    color: #999 !important;
    font-weight: normal;
    margin: 0;
    vertical-align: middle;
    margin: 0 0 0 5px;
}
#content div.panel-left p.title {
    margin-bottom: 5px;
    font-size: 18px; 
}
#message{
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #00A15D;
    color: #00A15D;
    margin-bottom: 15px;
    background: #e5f5ee;
}
#search
{
    display: inline-block;
}
#search p
{
    margin: 40px 0;
}
#search a.search
{
    border: solid 1px #ccc;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    background: url(icon-search.gif) no-repeat center center;
    padding: 10px 0;
    float: left;
    width: 30px;
}
#search a.search span
{
    visibility: hidden;
}
#search input
{
    border-left: 0;
    border-radius: 0 5px 5px 0;
    width: 400px;
    float: left;
    margin: 0;
    outline: none;
    padding: 10px 5px;
}

.left {
    float: left;
}
.right {
    float: right;
}

/*  asset status    */
.asset-status {
    background-color: #eee;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    line-height: 24px;
    padding: 0 12px;
    text-align: center;
    width: 60px;
}
.asset-status-in-date {
    background-color: #00A15D;
}
.asset-status-upcoming {
    background-color: #dd8315;
}
.asset-status-overdue {
    background-color: #a10000;
}
.asset-status-in-repair {
    background-color: #0066A4;
}
.asset-status-ber {
    background-color: #7f00a4;
}
.asset-status-not-found {
    background-color: #282828;
}

/*  jquery ui overrides */
.ui-widget {
    font-family: Arial, Verdana;
    font-size: 100%;
}
.ui-widget input {
    font-family: Arial, Verdana;
    font-size: 100%;
}
.ui-widget textarea {
    font-family: Arial, Verdana;
    font-size: 100%;
}
.ui-widget select {
    font-family: Arial, Verdana;
    font-size: 100%;
}
.ui-widget-content a {
    color: #fff;
}
.ui-widget-content a.delete {
    color: #00A15D;
}
.ui-widget-overlay {
    background-color: #000;
    background-image: none;
    opacity: .70;
    filter: Alpha(Opacity=70);
}

/*  edit form   */
.edit-form {
    margin: 0 0 15px 0;
}
.edit-form .field {
    display: inline-block;
    margin-right: 20px;
}
.edit-form .label {
    color: #434343;
    display: block;
    font-size: 85%;
    font-weight: bold;
    margin: 0 0 5px 0;
}
.list {
    border: solid 1px #ccc;
    border-radius: 5px;
    height: 180px;
    padding: 5px;
    width: 210px;
}
.select {
    border: solid 1px #ccc;
    border-radius: 5px;
    padding: 5px;
    width: 140px;
}
.select.wide {
    width: 330px;
}
.textbox {
    border: solid 1px #ccc;
    border-radius: 5px;
    padding: 5px;
    width: 140px;
}
.textbox.small {
    width: 70px;
}
.textbox.wide {
    width: 320px;
}
.textbox.very-wide {
    width: 840px;
}
.textarea {
    border: solid 1px #ccc;
    border-radius: 5px;
    height: 90px;
    padding: 5px;
    width: 320px;
    vertical-align: top;
}
.textarea.wide {
    width: 840px;
}
.textbox.search
{
    background: url(icon-search.gif) no-repeat 2% center;
    padding-left: 25px;
}
.date {
    width: 80px;
}
.required {
    border-color: #0066A4;
}
.top {
    vertical-align: top;
}

/*  bluebox controls    */
.bluebox-databinding {
    opacity: 0.4;
}
.bluebox-datagrid {
    width: 100%;
}
.bluebox-datagrid th {
    border-bottom: solid 1px #E5E5E5;
    font-size: 90%;
    text-align: left;
    text-transform: uppercase;
    padding: 3px;
}
.bluebox-datagrid td {
    text-align: left;
    padding: 3px;
}
.bluebox-datagrid td {
    border-bottom: solid 1px #eee;
}
.bluebox-pager {
    margin: 10px 0 0 0;
    padding: 3px;
}
.bluebox-pager span {
    display: inline-block;
    line-height: 24px;
    margin: 0 5px;
}
.bluebox-pager a {
    font-weight: bold;
}
.bluebox-pager .bluebox-link-on {
    color: #000 !important;
}
.bluebox-pager select {
    padding: 5px;
}

/*   nav controls   */
#nav
{
    background-color: #E5E5E5;
    padding: 0 0 0 20px;
    margin: 20px 0;
}
#nav ul
{
    padding: 0;
    margin: 0;
}
#nav ul li
{
    color: #BABABA;
    display: inline-block;
    margin: 0;
    padding: 0;
}
#nav ul li a {
    display: inline-block;
    line-height: 30px;
    padding: 0 10px;
}
#nav ul li.on a {
    background-color: #0066A4;
    color: #fff !important;
    font-weight: bold;
}
#nav ul li.end
{
    border-right: none;
}

/*  breakdown of costs */
#breakdown-of-costs table th {
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}
#breakdown-of-costs table td {
    vertical-align: top;
    text-align: left;
    padding: 10px;
}
#breakdown-of-costs table tr.totals {
    font-weight: bold;
}
#breakdown-of-costs table .notes {
    font-size: 85%;
}

/*  logs */
.log {
    box-sizing: border-box;
    border: solid 1px #ccc;
    font-size: 90%;
    overflow-y: scroll;
    height: 160px;
    padding: 10px;
    width: 100%;
}

/* file list */
#file-list
{
    display: inline-block;
}

.file
{
    margin-bottom: 30px;
}
.file a.pdf-link
{
    line-height: 2;
    display: block;
    vertical-align: middle;
    background: url(icon-pdf.gif) no-repeat center left;
    padding-left: 25px;
}
.file p
{
    margin: 0 0 5px 0;
}
.file p.date
{
    font-size: 12px;
    width: auto;
}

/* Uploader */
.uploader-container {
    display: inline-block;
    float: right;
    border: solid 1px #ccc;
    padding: 20px 25px;
    width: 310px;
}
#uploader.popup
{
    border: none;
}
#uploader h3
{
    margin-top: 0;
}
#uploader .select
{
    width: 194px;
}
#uploader .new input.textbox
{
    width: 258px;
}
#uploader .cancel
{
    float: right;
}
#uploader .remove
{
    display: block;
    margin: 0 0 5px 0;
}
#uploader .remove span
{
    background: url(icon-remove.gif) no-repeat center right;
    padding-right: 10px;
}
#uploader .model-selector {
    display: none;
}
#uploader .assign-resource {
    display: none;
}


/* Search results */
.search-results .panel
{
    margin-bottom: 30px;  
}
.search-results .panel p
{
    margin-bottom: 5px;
    font-size: 18px;   
}
.search-results .panel ul li
{
     line-height: 2;
}
.search-results .panel ul li a.assign
{
     font-size: 11px;
     color: #999 !important;
     margin: 0 15px;
}

.users .edit-form .field
{
    vertical-align: top;
}

.users table
{
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    border-spacing: 0;
}
.users table tr th
{
    border: solid 1px #333;
    background-color: #ccc;
    padding: 5px; 
}
.users table tr td
{
    border: solid 1px #333;
    border-collapse: none;
    padding: 5px; 
}
.users table tr.odd td
{
    background-color: #eee;
}