﻿article, section, header, footer, nav { display:block; }


/* main */
body  
{
    background: #3b5890;
    background-repeat:no-repeat;
    background-position:center top;
    color: #FFF;
    font-family: calibri;
    font-size: 12px;
    margin: 0;
    padding: 0;
    height:auto;
}

p {
    text-align:left;
}

.mainContent { width:980px; padding:0px; margin: 0 auto 0 auto; min-height:100vh; }

.essex-blue {
    background-color: #3b5890;
}


.clear { clear:both; }
.contentbox {
    padding: 30px 30px 30px 30px;
}

.essex-contentbox {
    padding: 30px 50px 30px 50px;
}


.essex-dash-contentbox {
    padding: 0px;
    margin-top: 45px;
}

.button  
{
    background-color: #ABABAB;
    border: 3px solid #696969;
    border-radius: 4px 4px 4px 4px;
    color: White;
    cursor: pointer;
    font-size: 14px;
    line-height:16px;
    vertical-align:middle;
    min-width: 100px;
    padding: 2px 20px; 
    margin: 2px;    
    text-decoration: none;
    text-transform:capitalize; 
    display:inline;  
    height:auto;
}
.button:hover { color: #696969; }


/* nav */
header h1 { float:left; font-size:250%; }
nav {
    margin: 0px 0px 0px 0px;
    padding-top: 10px;
    padding-bottom: 8px;
    width: 100%;
}
nav ul 
{
    margin: 0;
    padding: 0 0 2px;
    position: relative;
    line-height: 1.6em;
}
nav li { display: inline; list-style: none outside none; }
nav a {
color: white;
font-size: 11pt;
font-family: nl;
padding: 0px 20px 0px 8px;
text-decoration: none;
}
nav a:hover { color: #da3e40; } 


/* ########################### MODULES VIEW  ############################## */

/* Module Groups */
.moduleGroup         { border: 1px dashed #dedede; padding: 5px; margin-bottom: 5px; }
.moduleGroupTitle { list-style:none; padding: 5px 5px 5px 25px; margin:0; background-position: left center; font-size: 1.5em; font-weight: bold; }
.moduleGroupTitle.complete { background-image: url("images/tick.png"); background-repeat: no-repeat; }/* - THESE 2 STYLES ADD GREEN TICKS AND PADLOCK TO MODULE GROUP*/
.moduleGroupTitle.locked { background-image: url("images/Lock.png"); background-repeat: no-repeat; } 
.moduleList {
float: left;
list-style: none;
padding: 4px 0px 0px 0px !important;
margin: 0px !important;
}

.moduleList li           { display:inline; }

/* MODULES */
.module {
cursor: pointer;
float: left;
height: 200px;
list-style: none;
margin: 0px;
position: relative;
width: 389px;
z-index: 0;
background: white;
background-image: url("images/cyclist.png");
background-position: 130px;
background-repeat: no-repeat;
}
.module.locked { cursor:default; }
    
.moduleTitle {
height: 35px;
width: 181px;
top: 5px;
position: absolute;
padding-top: 18px;
padding-left: 50px;
z-index: 140;
}

.moduleTitle a, .moduleTitle .lockedContent {
color: #3b578e;
float: left;
font-size: 23px;
height: 50px;
width: 150px;
white-space: normal;
line-height: 27px;
margin-left: -26px;
margin-top: 35px;
text-align: left;
text-decoration: none;
}

.moduleStateIcon {
background-image: url("images/icons.png");
background-position: 35px 0px;
height: 35px;
left: 20px;
position: absolute;
top: 8px;
width: 35px;
}

.module:hover .moduleStateIcon { background-position:35px 0px; }
.module.complete .moduleStateIcon { background-position: 0px 0px; }
.module.complete:hover .moduleStateIcon { background-position: 0px 0px; }
.module.locked .moduleStateIcon { background-position: 105px 0px; }
.module.locked:hover .moduleStateIcon { background-position: 105px 0px; }
    
.moduleBody {
background-repeat: no-repeat;
float: left;
height: 55px;
position: relative;
top: 200px;
width: 390px;
padding-left: 0px;
background-color: #e82a34;
}
.module .bestScore 
{
    color: #216294;
    font-size: 20px;
    left: 5px;
    position: absolute;
    top: 5px;
    display:none;
}
.module.complete .bestScore { color:Green; }
.module.locked .bestScore { color:Silver; }
.module .moduleOverlay {}
.module:hover .moduleOverlay {
background-color: rgba(0,0,0,0.05);
height:auto;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 100;
}
.module:hover .moduleBody { border-color: #5c89ca ; }
.module.locked:hover .moduleOverlay { background-image: url("images/Lock.png");  }    
.module.locked:hover .moduleBody { border-color: #E5E5E5; }


/* custom module backgrounds */
.module.document .moduleBody { background-image: url("images/moduleIcons/bollards.jpg"); } /* TODO: use a generic document icon */
.module.infoRequest .moduleBody { background-image: url("images/moduleIcons/bollards.jpg"); } /* TODO: use a generic icon for info gathering module */
/* TODO: add custom backgrounds for normal modules */
.module.attitude .moduleBody { background-image: url("images/moduleIcons/attitude.jpg"); }
.module.eyescanning .moduleBody { background-image: url("images/moduleIcons/eye_scanning.jpg"); }
.module.movingoff .moduleBody { background-image: url("images/moduleIcons/car.jpg"); }
.module.seatbelts .moduleBody { background-image: url("images/moduleIcons/seatbelts3.jpg"); }
.module.mobilephones .moduleBody { background-image: url("images/moduleIcons/mobilephones.jpg"); }
.module.eco .moduleBody { background-image: url("images/moduleIcons/eco.jpg"); }
.module.overtaking .moduleBody { background-image: url("images/moduleIcons/overtaking.jpg"); }
.module.safetymargins .moduleBody { background-image: url("images/moduleIcons/safetymargins.jpg"); }
.module.indiaclips .moduleBody { background-image: url("images/moduleIcons/eye_scanning1.jpg"); }
.module.horns .moduleBody { background-image: url("images/moduleIcons/frustrations_b.jpg"); }


.pure-background {
background-image: url(images/bg_bike.jpg);
background-position: top right;
background-size: cover;
}


.essex-field-boxsize {
width: 370px;
height: 30px;
padding-left: 10px;
padding-right: 6px;
}

.essex-account-field-boxsize {
width: 370px;
height: 30px;
padding-left: 10px;
padding-right: 6px;
}

.essex-padding-right-45 {
padding-right: 45px;
}


.field-boxsize {
width: 220px;
height: 30px;
padding-left: 10px;
padding-right: 10px;
border: 1px solid #4179b9;
}

.button-boxsize {
width: 100%;
height: 30px;
padding-left: 10px;
padding-right: 10px;
border: 0px solid;
background-color: #5c89ca ;
text-align: left;
color: white;
font-weight: bold;
}

.essex-button-boxsize {
width: 100%;
display: block;
padding-left: 10px;
padding-right: 10px;
padding-top: 8px;
padding-bottom: 5px;
border: 0px solid;
background-color: #da3e40;
text-align: center;
text-transform: uppercase;
font-family: nb;
font-size: 14pt;
letter-spacing: 0px;
color: white;
text-decoration: none;
}

.essex-account-button-boxsize {
width: 100%;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
border: 0px solid;
background-color: #da3e40;
text-align: center;
text-transform: uppercase;
font-family: nb;
font-size: 15pt;
letter-spacing: 0px;
color: white;
margin-top: 10px;
}

.essex-pay-button-boxsize {
width: 170px;
padding-left: 10px;
padding-right: 10px;
padding-top: 8px;
padding-bottom: 7px;
border: 0px solid;
background-repeat: no-repeat;
background-color: #da3e40;
background-position: right;
text-align: center;
text-transform: uppercase;
font-family: nb;
text-decoration: none;
color: white;
display: block;
float: right;
}

.essex-return-button-boxsize {
width: 380px;
padding-right: 10px;
padding-top: 8px;
padding-bottom: 7px;
border: 0px solid;
background-repeat: no-repeat;
background-color: #da3e40;
background-position: right;
text-align: center;
text-transform: uppercase;
font-family: nb;
margin-top: -10px;
text-decoration: none;
color: white;
display: block;
float: left;
}

.essex-dash-button-boxsize {
width: 390px;
padding-left: 10px;
padding-right: 10px;
padding-top: 8px;
padding-bottom: 7px;
border: 0px solid;
background-repeat: no-repeat;
background-color: #da3e40;
background-position: right;
text-align: center;
text-transform: uppercase;
font-family: nb;
margin-top: 20px;
text-decoration: none;
color: white;
display: block;

}

.pure-u-3-4 {
width: 425px !important;
height: initial;
}

.pure-u-3-3 {
width: 450px !important;
height: initial;
}

.pure-u-4-2 {
width: 265px !important;
height: initial;
}

.pure-u-4-4 {
width: 450px !important;
height: initial;
}


.pure-u-3-5 {
width: 70% !important;
}



.essex-logo {
background-image: url(images/essex_logo.png);
background-position: center center;
background-repeat: no-repeat;
width: 100%;
height: 200px;
padding: 0px;
margin: 0px;
}

.essex-logo-dash {
background-image: url(images/essex_logo.png);
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
margin-top: 9px;
width: 150px;
height: 150px;
float: left;
}

.red-color {
color:#5c89ca  !important;
}


.essex-header-login {
color: white;
font-size: 24px;
text-align: center;
padding-left: 10px;
font-family: nb;
margin-bottom: 6px;
margin-top: 6px;
letter-spacing: 1px;
white-space: pre-wrap;
}

.essex-header-dash {
color: white;
font-size: 12pt;
text-align: center;
font-family: nb;
top: 0px;
letter-spacing: 1px;
white-space: pre-wrap;
}

.essex-p-title {
color: white;
margin-bottom: 1px;
margin-top: 17px;
font-family: nb;
font-size: 12pt;
font-weight: bold;
letter-spacing: 1px;
}

.essex-p-subtitle {
color: white;
margin-bottom: 1px;
margin-top: 20px;
font-family: nb;
font-size: 14pt;
font-weight: bold;
letter-spacing: 1px;
}

.assex-white {
color: white;
width: 100%;
height: 3px;
}

.essex-p-instruction {
padding: 10px;
color: white;
margin-bottom: 0px;
margin-top: 0px;
font-size: 12pt;
font-family: calibri;
padding-left: 45px;
padding-top: 8px;
padding-bottom: 8px;
background-color: #3b904e;
letter-spacing: 0px;
font-weight: bold;
background-image: url(images/instructions.png);
background-repeat: no-repeat;
background-position: 12px;
}

.essex-login-instruction {
padding: 10px;
color: white;
margin-bottom: 0px;
margin-top: -6px;
font-size: 12pt;
font-family: calibri;
padding-left: 45px;
padding-top: 10px;
padding-bottom: 10px;
background-color: #3b904e;
letter-spacing: 0px;
background-image: url(images/instructions.png);
background-repeat: no-repeat;
background-position: 12px;
}

.essex-p-box {
margin-top: -3px;
color: #5c89ca;
margin-bottom: 6px;
letter-spacing: 0px;
}

.essex-p-tick {
margin-top: 20px;
color: white;
margin-bottom: 6px;
letter-spacing: 0px;
font-family: calibri;
font-size: 15px;
width: 430px;
}

.essex-tickbox-container { position:relative; }

.essex-tick-box {
margin-left: 165px;
width: 30px;
height: 30px;
color: white;
margin-top: -32px;
position: absolute;
right:0;
bottom:-5px;
}

#gotoPayment:disabled
{
    background-color:#a2a2a2;
}

.essex-p-top-25 {
margin-top: 20px;
}



.p-size {
margin-top: 6px;
color:#5c89ca ;
margin-bottom: 6px;
}

.p-size-dash {
margin-top: 0px;
color: #5c89ca ;
margin-bottom: 0px;
margin-left: 25px;
}

.p-size-account {
margin-top: 6px;
color: #222;
margin-bottom: 10px;
margin-left: 11px;
width: 220px;
white-space: pre-wrap;
}

.link {
color:#5c89ca ;
font-size: 12px;
text-decoration:none;
font-weight:normal;
padding-left: 10px;
padding-top: 5px;
}
.link:checked {
color:#5c89ca ;
}
.link:visited {
color:#5c89ca ;
}
.link:hover {
color:#174788;
}

ul {
padding: 0 0 0 0px !important;
list-style-type: none;
}

.pure-g [class *="pure-u"] {
font-family: calibri !important;
font-size: 12pt;
}

div{
 white-space: normal;
    height: auto;

}

.horiz{
    max-height: 300px;
}

.vert{
    max-height: 500px;
}

.nav-style {
    font-size:13px;
    width:100px;
    cursor:pointer;

} 

.contentbox-dash {
background-color: #ffcd00;
padding: 5px 30px 30px 30px;
}

.content-dash {
float: left;
}

.header-field-dash {
padding: 35px 0px 10px 0px;
margin-left: 90px;
}

.header-top-dash {
color: #5c89ca  !important;
text-transform: uppercase;
font-size: 14px;
padding-left: 10px;
font-family: calibri !important;
margin-bottom: 0px;
margin-top: 0px;
}



.space {
display:block;
width:100%;
height:10px;
}

.essex-white {
color: white;
padding-left: 190px;
padding-top: 8px;
}

.essex-dash-text {
background-color: transparent;
margin-top: -5px;
margin-left: 0px;
margin-right: 0px;
padding: 10px;
padding-top: 1px;
color: white;
}

.essex-dash-text-p {
background-color: transparent;
white-space: normal;
padding-left: 0px;
padding-top: 0px;
padding-right: 0px;
}

.essex-dash-text-expire {
padding: 10px;
color: white;
font-size: 12pt;
padding-left: 45px;
font-family: calibri;
padding-top: 8px;
padding-bottom: 8px;
background-color: #e82a34;
letter-spacing: 0px;
background-image: url(images/instructions.png);
background-repeat: no-repeat;
background-position: 12px;
margin-top: 10px;
margin-bottom: 6px;
}

.essex-dash-text-expire p {
margin-top: 5px;
margin-bottom: 5px;
}


.essex-dash-instructions {
padding: 10px;
color: white;
margin-bottom: 10px;
margin-top: 0px;
font-size: 12pt;
font-family: calibri;
padding-left: 45px;
padding-top: 8px;
padding-bottom: 8px;
background-color: #3b904e;
letter-spacing: 0px;
background-image: url(images/instructions.png);
background-repeat: no-repeat;
background-position: 12px;
}



.essex-dash-instructions p {
margin-top: 5px;
margin-bottom: 5px;
white-space: normal;
}

.essex-launch {
font-size: 30px;
font-family: nb;
color: white;
letter-spacing: 1px;
margin: 0px;
text-align: center;
padding-top: 16px;
}

.essex-account-text {
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
position:relative;
}

.essex-padding-left {
    padding-left:20px;

}

.essex-pay-text {
padding: 10px;
}

.p-essex-white-faq {
color: white;
background-color: transparent;
padding: 10px;
white-space: initial;
}

.p-essex-white-faq p {
margin: 0px;

}

.essex-account-field-drop {
width: 390px;
height: 30px;
padding-left: 10px;
padding-right: 6px;
}

.essex-p-faq {
color: white;
padding-top: 10px;
padding-bottom: 8px;
padding-left: 20px;
margin-bottom: 0px;
margin-top: 2px;
font-family: nb;
font-size: 12pt;
font-weight: bold;
letter-spacing: 1px;
background-color: #283e68;
white-space: normal;
line-height: 20px;
cursor: pointer;
background-image: url(images/faq.png);
background-repeat: no-repeat;
background-position: 360px;
background-size: 17px;
}


    .essex-p-faq:hover {
        background-color:#364d7a;
    }



.essex-p-faq a {
color: white;
text-decoration: none;
}

.essex-faq-text {
margin-top: -8px;
/* min-height: 450px; */
}

#footer {
	width:100%;
	height:80px;
	position:absolute;
	bottom:0;
	left:0;
	background:#ee5;
}

.essex-p-admin {
color: white;
display: block;
text-decoration: none;
padding-top: 10px;
padding-bottom: 8px;
padding-left: 20px;
margin-bottom: 0px;
margin-top: 5px;
font-family: nb;
font-size: 12pt;
font-weight: bold;
letter-spacing: 1px;
background-color: #283e68;
white-space: normal;
line-height: 20px;
cursor: pointer;
}

.essex-p-admin a {
color: white;
text-decoration:none;
}

.essex-white-bg {
color: white;
text-decoration: none;
background-color: #254073;
padding: 10px;
}

.essex-get {
padding: 10px;
margin-top:20px;
}

tr.import {
    background-color: #999;
}

.import.False td{
    color: red;
}
.import.True td{
    color: green;
}