@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);

@font-face {
    font-family: 'uknumberplateregular';
    src: url('/fonts/uknumberplate-webfont.eot');
    src: url('/fonts/uknumberplate-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/uknumberplate-webfont.woff') format('woff'),
         url('/fonts/uknumberplate-webfont.ttf') format('truetype'),
         url('/fonts/uknumberplate-webfont.svg#uknumberplateregular') format('svg');
    font-weight: bold;
    font-style: normal;
}

html, body {
margin: 0; padding: 0;
font-family: 'Open Sans',Arial,sans-serif;
font-weight: 400;
font-size: 100%;
font-size: 14px;
line-height: 20px;
-webkit-text-size-adjust: none;
background: #e8e8e8;
}

* { margin: 0; padding: 0; font-family: 'Open Sans',Arial,sans-serif;}

a, a:visited { text-decoration: underline; color: #1d2756; }
a:hover { color: #000; }

// h5 is for vehicle data field names
h5 { font-size: 13px; line-height: 20px; font-weight: bold; margin: 0; width: 100%; background: #eee; }

// h4 is for the fields on the login screen
h4 { font-size: 13px; line-height: 20px; font-weight: bold; margin: 0; }
h3 { font-size: 16px; line-height: 22px; font-weight: bold; margin: 0; text-align: center; margin-bottom: 20px; }

/* input fields */

input { -webkit-border-radius: 0; -webkit-appearance: none; }

textarea, input[type=text], input[type=password], select {
    box-sizing: border-box;
    font-family: 'Open Sans',Arial,sans-serif;
    font-size: 14px;
    line-height: 20px;
    border-style: solid;
    border-width: 1px;
    border-color: #666 #ccc #ccc #666;
    padding: 2px 5px;
    background: #f0f0f0;
    width: 210px;
    margin-bottom: 10px;
}

a.linkButton, input[type=submit] {
    box-sizing: border-box;
    font-family: 'Open Sans',Arial,sans-serif;
    font-size: 14px;
    line-height: 28px;
    background: #1d2756;
    border: 0;
    padding: 0;
    width: 210px;
    height: 30px;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease-in 0s;
    text-decoration: none;
    text-align: center;
    margin: 8px 0;
}
a.linkButton:hover, input[type=submit]:hover { background: #606788; }

a.linkButton { display: inline-block; width: 100px; font-size: 12px; line-height: 24px; height: 24px; margin: 5px; }

/* tables */

table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 5px; text-align: left; }
th { font-weight: bold; font-size: 13px; }

#stTable th:nth-of-type(2) { text-align: center; }
#stTable th:nth-of-type(3) { text-align: center; }
#stTable td:nth-of-type(2) { text-align: center; }
#stTable td:nth-of-type(3) { text-align: center; }

table.linedTable { border-left: 1px solid #ccc; border-top: 1px solid #ccc; }
table.linedTable tr td { border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; vertical-align: middle; }
table.linedTable tr td:first-of-type { font-weight: bold; background: #eee; width: 140px; }

td input[type=text], td input[type=submit], td select { margin: 0; }

table.vehicleData { margin: 5px auto; }
.vehicleData td { padding: 2px 4px; }
.vehicleData td:nth-of-type(1) { width: 50%; text-align: right; color: #1e2457; font-weight: bold; }
.vehicleData td:nth-of-type(2) { width: 50%; text-align: left; color: #000; font-weight: normal; }

/* logo */

#LogoContainer { text-align: center; }
#LogoContainer img { border: 0; margin-bottom: 20px; }

/* login/reset */

.loginBox { width: 210px; margin: 50px auto; text-align: left; }
#resetBox { display: none; }
.small { font-size: 11px; text-align: center; }

/* main */

#OuterContainer { margin:20px; padding:20px; border:1px solid #999; box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75); background: #fff; }

#btnSettings { width: 40px; height: 40px; border:0; float: left; margin-left: -15px; margin-top: -15px; }
#btnLogout { width: 40px; height: 40px; border: 0; float: right; margin-right: -15px; margin-top: -15px; }

#ContentContainer { text-align: center; min-height: 400px; }

#CopyrightContainer { margin: 20px; text-align: center; color: #aaa; }

/* search + autocomplete */

#Search div { max-width:210px; text-align: left; margin: 0 auto 20px auto; background:#fff; border: 1px solid #333; position: relative; }

#q { box-sizing: border-box; width: 210px; background: #fff; text-align: left; outline: none; border: 0; margin: 0; padding: 4px 6px; font-size: 16px; line-height: 20px; padding-right: 34px; text-transform: uppercase; }

#q::placeholder  { text-transform: none; }

#go { position: absolute; top: 0; right: 0; z-index:1; width:30px; height:30px; border:0; -webkit-transition: none; }

.autocomplete-suggestions {
    text-align: left; cursor: default; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: -1px 1px 3px rgba(0,0,0,.1);
    position: absolute; display: none; z-index: 200; max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box;
}
.autocomplete-suggestion {
    position: relative; padding: 0 .6em; line-height: 23px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; font-size: 16px; color: #333;
}
.autocomplete-suggestion b { }
.autocomplete-suggestion.selected { background: #f0f0f0; }

/* info boxes */

div.infoBox { border: 1px solid #1e2457; border-width: 0 1px 1px 1px; padding: 0; margin: 20px auto; }
div.infoBox p { margin: 10px; }
div.infoBox h3 { text-align: left; background: #1e2457; color: #fff; font-size: 14px; line-height: 20px; margin:0; padding:5px 10px; }

.vehicleTable { margin: 10px; }
.vehicleTable a { text-decoration: none; }
.vehicleTable td, .vehicleTable th { padding: 1px 5px; }
.vehicleTable td { cursor: pointer; }

/* vehicle plate */

div.vrm { display: inline-block; font-family: 'uknumberplateregular', Arial, sans-serif; background: #ffd307; font-size: 50px; line-height: 50px; border: 1px solid #000; border-radius: 5px; padding: 5px 10px 3px 10px; margin:10px; text-align: center; text-transform: uppercase; font-weight: bold; }

/* vehicle images */

#imagesBlock { text-align:center; font-size:0; line-height:0; clear: both;}

#imagesBlock div { cursor: pointer; position: relative; display:inline-block; width:180px; height:140px; text-align: center; font-size: 12px; line-height: 14px; }

#imagesBlock div img { width:160px; height: auto; margin: 10px; }
#imagesBlock div a { font-size: 12px; line-height: 14px; text-decoration: none; color: #000; }
#imagesBlock div img.cross { display:none;width: 25px; height: 25px; border: 0; position: absolute; z-index: 99; top:-10px; right: -10px; }
#imagesBlock div:hover img.cross { display: block; }

/* on view screen */

#vehicleImages img { transition: 0.2s; width: 160px; height: auto; border: 2px solid #fff; margin: 8px; }
#vehicleImages img:hover { transform: scale(1.8); }

/* file uploader */

.ajax-file-upload-container { margin:0; }
.ajax-file-upload-statusbar { border: 1px solid #888; margin-top: 10px; width: 270px; padding: 6px 10px 0 10px; }
.ajax-file-upload-filename { width: 270px; height: auto; margin-bottom: 2px; }
.ajax-file-upload-filesize { width: 50px; height: auto; margin: 0 5px 5px 0px; display: inline-block; vertical-align:middle; }
.ajax-file-upload-progress { margin: 5px 5px 5px 0px; position: relative; width: 274px; border: 1px solid #888; padding: 1px; display: inline-block; color:#FFFFFF; }
.ajax-file-upload-bar { background-color: #002048; width: 270px; height: 20px; color:#fff; }
.ajax-file-upload-percent { position: absolute; display: inline-block; top: 3px; left: 48% }

.ajax-upload-dragdrop { border: 1px dashed #888; color: #888; text-align:right; vertical-align:middle; width: 160px; height: 120px; margin:0 auto;}
.ajax-upload-dragdrop .submitButtonCover { border:0;background: #f0f0f0 url('/img/upload.png') no-repeat 50% 50%; background-size: contain; }
.state-hover { border: 1px solid #888; }

.submitButton { display: inline-block; width: 150px; height: 30px; line-height: 30px; font-family: inherit; font-size: 16px; text-align: center; cursor: pointer; border: 0; font-weight: bold; text-decoration: none; color: #fff; padding: 0; vertical-align: middle; margin: 0 0 10px 0; background:#002048; background-size: 1px 60px; }

.submitButtonCover { width: 100%; height: 100%; }

