/* CSS for application website login page */

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com License: none (public domain), with 'font:auto' removed */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,
img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,
caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,
ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;vertical-align:baseline;margin:0;padding:0}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}
ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}
table{border-collapse:collapse;border-spacing:0}

/* Specific CSS for this page */
body {
    background: url(background.png);
}

#pre-content-area {
    min-height: 110px;
}

#under-content-area {
    background: #282828;
    height: 380px;
}

#content {
    position: relative; /* make this a positioned element, so z-index can be applied */
    top: -50px;         /* overlap the area above */
    z-index: 10;        /* ensure this div is above the following div, so following div can underlap it */
    color: #333;
    background-color: #F9F9F9;
    width: 1010px;
    padding: 20px 0 15px;
    margin: 0 auto;
    font: 13px/20px 'PT Sans', Arial, sans-serif;
}

/* Generated by ParaType Ltd (http://www.paratype.com)*/
/* Font PT Serif:  Copyright © 2010 ParaType Ltd. All rights reserved.*/

@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: local('PT Sans'), local('PTSans-Regular'), url('pt_sans/PTS55F_W.eot?#iefix') format('embedded-opentype'), url('pt_sans/PTS55F_W.woff') format('woff'), url('pt_sans/PTS55F_W.ttf') format('truetype'), url('pt_sans/PTS55F_W.svg#PTSans-Regular') format('svg');
}

@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: local('PT Sans Bold'), local('PTSans-Bold'), url('pt_sans/PTS75F_W.eot?#iefix') format('embedded-opentype'), url('pt_sans/PTS75F_W.woff') format('woff'), url('pt_sans/PTS75F_W.ttf') format('truetype'), url('pt_sans/PTS75F_W.svg#PTSans-Bold') format('svg');
}

#title-and-form {
    display: grid;
    grid-template-columns: 310px auto;
    margin-left: auto;
    margin-right: auto;
    width: 640px;
}

#title-and-form form {
    grid-column: 1/3;
    grid-row: 2;
    margin-top: 8px;
}

#info-and-links {
    margin: 40px auto 0 auto;
    width: 980px;
    clear: both;
}

#info-and-links div {
    background-color: #eeeeee;
    border: 1px solid #e4e4e4;
    margin: 3px 0 0;
}

#info-and-links p {
    padding: 5px;
}

#info-and-links p.links {
    text-align: right;
}

#info-and-links p.china-links {
    text-align: center;
}

#info-and-links span {
    padding: 0 3px;
}

#info-and-links p span.button {
    cursor: pointer;
    border-radius: 4px;
    background-color: #c02026;
    text-align: center;
    color: #fff;
    padding: 0 5px 2px;
}
#info-and-links p.column {
    float: left;
    width: 95%;
}

#info-and-links p.closeButton {
    cursor: pointer;
    float: right;
    padding: 0;
    margin: 5px;
}

.clear-fix {
    clear: both;
    padding: 0;
}

#info-and-links div p span.button:hover {
    background-color: #fff;
    color: #c02026;
}

#info-and-links div p a {
    padding: 0 3px;
    text-decoration: none;
    color:#c02026;
    cursor: pointer;
}

#info-and-links div p a:hover {
    text-decoration: underline;
    color: #999;
}

#post-content-area {
    position: relative;
    top: -100px; /* underlap the area above */
    height: 210px;
}

#banner {
    width: 1010px;
    margin: 16px 0 30px 0;
    padding-bottom: 32px;
    border-bottom: solid #e4e4e4 1px;
    background-image: url(1white.png);
}

#banner img {
    display: inline-block;
    margin-left: 185px;
}

#sub-banner {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Language selection form */
#languageFormContainer {
    position: absolute;
    top: 32px;
    right: 32px;
}

#languageForm {
    display: inline;
}

#page-title {
    grid-column: auto;
    grid-row: 1;
}

#page-title h1 {
    font-size: 18px;
    font-weight: bold;
}

#page-title h1 span.normal{
    font-weight: normal;
}

#website-invite {
    grid-column: auto;
    grid-row: 1;
    padding: 10px;
    border-radius: 4px;
    background-color: #c02026;
    width: 220px;
    text-align: center;
    height: 22px;
}

#website-invite a {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
}

#custordriver {
    margin: 10px 0;
    clear: both;
}

#custordriver ul {
    list-style: none;
}

#custordriver li {
    display: inline;
}

#custordriver label {
    display: inline-block;
    font-weight: bold;
    margin: 0;
}

/* Class 'animated' adds hover behaviour to labels */
label.animated:hover {
    text-decoration: underline;
    cursor: pointer;
}

input#customer-login {
    margin: 0 3px 0 0;
}

input#driver-login {
    margin: 0 3px 0 7px;
}

#login-fields {
    width: 310px;
    display: inline-block;
    float: left;
}

/* Set the width of the login fields to stop IE messing them up with its 'clear field' cross */
#login-fields input {
    width: 150px;
    margin: 1px;
}

#login-fields label {
    width: 100px;
    display: inline-block;
}

div.fail-message {
    display: inline-block;
    width: 240px;
    margin-left: 2px;
    color: red;
}

input.button {
    width: auto !important;
    vertical-align: top;
}

#logsubmit {
    margin: 5px 0;
}

#settings-fields {
    width: 390px;
    margin-left: 310px;
}

#settings-text {
    margin-bottom: 8px;
}

#settings-fields label {
    width: 250px;
    display: inline-block;
}

#title-and-form .formLink {
    display: inline-block;
    margin-left: 105px;
}

.passwordStrength {
    position: relative;
    width: 300px;
    height: 20px;
    border: solid 1px #778186;
    margin-bottom: 5px;
}
/* 'width' and 'left' for each of these must match the corresponding values used in FormBuilder::passwordStrengthIndicator() */
#weakpassword {
    position: absolute;
    width: 67px;
    left: 0;
    text-align: center;
    border-right: 1px solid #778186;
}

#mediumpassword {
    position: absolute;
    width: 67px;
    left: 68px;
    text-align: center;
    border-right: 1px solid #778186;
}

#strongpassword {
    position: absolute;
    width: 67px;
    left: 136px;
    text-align: center;
}

#verystrongpassword {
    position: absolute;
    width: 96px;
    left: 204px;
    text-align: center;
}

.password-weak #weakpassword,
.password-medium #weakpassword, .password-medium #mediumpassword,
.password-strong #weakpassword, .password-strong #mediumpassword, .password-strong #strongpassword,
.password-verystrong #weakpassword, .password-verystrong #mediumpassword, .password-verystrong #strongpassword, .password-verystrong #verystrongpassword
{
    background-color: #61A334;
    color: white;
}
