﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: rgb(224, 224, 224);
    font-family: arial,sans-serif;
    font-size: small;
    color: #666;
}

#container {
    position: relative;
    width: 960px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100%;
    border-right: 1px solid #BABABA;
    border-left: 1px solid #BABABA;
}

#header {
    background-image: url("../images/Logo.jpg");
    background-repeat: no-repeat;
    height: 234px;
    position: relative;
}

#header h1 {
    margin: 0;
    font-size: 40px;
    padding-bottom: 25px;
    text-align: center;
    text-shadow: 1px 2px 2px #424242;
    color: white;
}

#header p.phoneNumber {
    position: absolute;
    bottom: 10px;
    left: 25px;
    font-size: 14px;
    color: #fff;
}

#divLogout {
    float: right;
    padding-right: 10px;
}

#divLogout a:hover {
    color: #fff;
}

#content {
    padding: 10px 5px 75px 5px;
}

#footer {
    background: #0278B9 !important;
    position: absolute;
    height: 40px;
    width: 100%;
    bottom: 0;
    text-align: center;
    font-size: 11px;
    padding: 20px 0 10px 0;
    color: white;
    
    background: #59CAEA; /* Old Browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #73ddfa 35%, #59caea 61%, #59caea 100%); /* FF3.6+ */
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #ffffff), color-stop(35%, #73ddfa), color-stop(61%, #59caea), color-stop(100%, #59caea)); /* Chrome, Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #73ddfa 35%, #59caea 61%, #59caea 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #73ddfa 35%, #59caea 61%, #59caea 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #73ddfa 35%, #59caea 61%, #59caea 100%); /* IE 10+ */
    background: linear-gradient(to bottom, #ffffff 0%, #73ddfa 35%, #59caea 61%, #59caea 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#59caea', GradientType=0 ); /* IE6-9 */
}

table#tblVehicles {
    table-layout: fixed;
}

table#tblVehicles td, table#tblVehicles th {
    word-wrap: break-word;
    padding: 3px;
}

#footer p {
    padding: 2px;
}

.hide {
    display: none;
}

.popupNoteLabel {
    display: block; 
    float: left;
    width: 100px;
    padding-bottom: 10px;
    padding-right: 10px;    
}

.popupLabel {        
    width: 150px;
    display: inline-block;
}

.popupText {
    margin-bottom: 10px;
}

.popupError {
    color: Red;
}

body {
    font-family: Tahoma,Arial,Verdana,Sans-Serif;
}

div.error {
    display: inline;
    float: left;
    margin-left: 250px;
    position: static;
    width: 500px;
    
    color: #2E2E2E;
    font-family: Verdana;
    font-size: 0.7em;
    line-height: 14px;
}

select {
    border: 1px solid #000000;
    width: 125px;
    font-size: 1em;
}

select.time {
    border: 1px solid #000000;
    width: 50px;
    font-size: 1em;
}

label.border {
    padding: 0px 3px;
    font-size: 0.9em;
}

label.policyborder {
    border-radius : 3px 3px 3px 3px;
    padding: 10px 10px 10px 3px;    
    font-size: 1em;
    font-weight: bold;  
}

form.policyForm {
    padding: 10px 15px 10px 15px;  
}

td.head {
    width: 40%;
    height: 20px;
    font-size: 12px;
    vertical-align: top;
}

td.headRating {
    height: 20px;
    font-size: 12px;
}

table {
    border-collapse: collapse;
    border-color: #94B2DC;
}

th.list {
    height : 30px;
    padding-left: 2px;
    border-color: #94B2DC;
    font-size: 12px;
    font-weight: bold;
    background-color: #94B2DC;
    color: #FFF;
}

td.list {
    height: 20px;
    padding-left: 2px;
    border-color: #94B2DC;
    font-size: 11px;
}

table.policy {
    font-size: 1em;
    width: 100%;
}

img {
    border: 0px;
}

td.page {
    line-height: 25px;
    padding: 5px;
}
    
td.field input.error, td.field select.error, tr.errorRow td.field input, tr.errorRow td.field select {
    background-color: #FFFFD5;
    border-radius : 3px 3px 3px 3px;
    border: 1px solid red;
    color: red;
    margin: 0;
}

div.logo {
    background-image: url("../images/sky.gif"); 
    background-repeat: repeat-x;
    top: 0px;
}

td.logo {
    padding-right: 90px; 
    padding-left: 30px;
}

img.logo {
   height: 76px;
   width: 500px;
}

div.dashboard {
    margin-left: 5px;
    margin-top: 10px;
    width: 465px;
    border: 0px solid #000;
    display: inline-block;
}

#divLogout {
    float: right;
}

#divSearch {
    width: 400px;
    margin-left: 260px;
    margin-top: 60px;
}

div.buttonSubmit {
    position: relative;
}

div.buttonSubmit input, div.buttonSubmit span {
    background-image: url("../images/button.gif");
    background-position: right 0;
    background-repeat: no-repeat;
    border: 0 none;
    color: #FFFFFF;
    cursor: pointer;
    float: left;
    font-weight: bold;
    height: 36px;
    margin: 5px 0;
    padding: 0 15px 2px;
    position: relative;
    z-index: 5;
}

div.buttonSubmit input {
    width: auto;
}

div.buttonSubmit span {
    background-position: left -36px;
    left: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 4px;
    z-index: 10;
}

body.safari div.buttonSubmit span {
    display: none;
}

div.buttonSubmitHover input {
    background-position: right -72px;
}

div.buttonSubmitHover span {
    background-position: left -108px;
}

div.buttonSmall {
    position: relative;
}

div.buttonSmall input, div.buttonSmall span {
    background-image: url("../images/button.gif");
    background-repeat: no-repeat;
    border: 0 none;
    color: #FFFFFF;
    cursor: pointer;
    float: left;
    font-weight: bold;
    height: 18px;
    margin: 5px 0;
    padding: 0 15px 2px;
    position: relative;
    z-index: 5;
}

div.buttonSmall input {
    width: auto;
}

div.buttonSmall span {
    background-position: left 30px;
    left: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 4px;
    z-index: 10;
}

body.safari div.buttonSmall span {
    display: none;
}

div.buttonSmallHover input {
    background-position: right -72px;
}

div.buttonSmallHover span {
    background-position: left -108px;
}

.rowform {
    cursor: pointer;
}

.rowformHover {
    background-color: #9BC0DE;
}

input[type="text"], input[type="password"], textarea {
    border: 1px solid #000000;
    border-radius: 3px 3px 3px 3px;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 12px;
    max-width: 300px;
    min-width: 15px;  
}

input[type="text"].error, input[type="password"].error {
    border: 1px solid #FF0000;
    border-radius: 3px 3px 3px 3px; 
    color: #FF0000;
}

input[type="radio"]radio.error {
    color: #FF0000;
}

input[readonly="readonly"] {
    background-color: #EAEADA;
}

textarea[readonly="readonly"] {
     border: 0px solid #FF0000;
    border-radius: 3px 3px 3px 3px;
    font-family: Verdana,Arial,Helvetica,sans-serif;    
    font-size: 12px;  
    background-color: #EAEADA;
}

.dateOfBirth {
     background-color: #FFFFFF;
}

td.error {
    color: #FF0000;
}

label.error {
   margin-left: 3px;
}

.errorv_forms {
    color: #FF0000;
    font-size: 0.9em;
    background-color: #DADADA;
    line-height: 8px;
    margin: 2px 0px 0px 0px;
}

.login {
    margin-left: 300px; 
    margin-top: 100px; 
    width: 320px;
    border: 1px solid #000;
}

.save {
    background: Url("../images/save.png") no-repeat;
    width: 24px;
    height: 24px;
    border: 0px;
    float: left;
    clear: right;
    margin: 2px 2px;
    cursor: pointer;
}

.cancel {
    background: Url("../images/cancel.png") no-repeat;
    width: 24px;
    height: 24px;
    border: 0px;
    float: left;
    clear: right;
    margin: 2px 2px;
    cursor: pointer;
}

.edit {
    background: Url("../images/edit.png") no-repeat;
    width: 24px;
    height: 24px;
    border: 0px;
    float: left;
    clear: right;
    margin: 2px 2px;
    cursor: pointer;
}

.delete {
    background: Url("../images/delete.png") no-repeat;
    width: 24px;
    height: 24px;
    border: 0px;
    float: left;
    clear: right;
    margin: 2px 2px;
    cursor: pointer;
}

.add {
    background: Url("../images/addbutton.jpg") no-repeat;
    width: 79px;
    height: 30px;
    border: 0px;
    float: left;
    clear: right;
    margin: 2px 2px;
    cursor: pointer;
}

.postcodelookup {
    text-decoration: none;
    cursor: pointer;
    font-size: 0.8em;
}

.ddlPopUpStyle {
    width: 200px;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-inner-wrapper {
    background-color: white;
    line-height: 30px;
    padding: 4em 100px;
}

.rounded-corners {
    border-radius: 5px 5px 5px 5px;
}

.modalBackground {
    background-color: Black;
    opacity: 0.8;
    filter: alpha(opacity=80);
    z-index: 10000;
}

.spinner {
    left: 50px !important;
}

.policiesButtons {
    margin-bottom: 10px;
}