﻿/*
    z-index values:
    sections < 500
    header = 500
    grayed background = 600
    menus = 1000
    modals = 2000

*/
@font-face {
    font-family: robotoRegular;
    src: url(/Content/fonts/Roboto-Regular.ttf);
}

@font-face {
    font-family: robotoBold;
    src: url(/Content/fonts/Roboto-Bold.ttf);
}

@font-face {
    font-family: robotoItalic;
    src: url(/Content/fonts/Roboto-Italic.ttf);
}

@font-face {
    font-family: robotoBoldItalic;
    src: url(/Content/fonts/Roboto-BoldItalic.ttf);
}

@font-face {
    font-family: robotoBlack;
    src: url(/Content/fonts/Roboto-Black.ttf);
}

@font-face {
    font-family: robotoBlackItalic;
    src: url(/Content/fonts/Roboto-BlackItalic.ttf);
}

@font-face {
    font-family: robotoLight;
    src: url(/Content/fonts/Roboto-Light.ttf);
}

@font-face {
    font-family: robotoLightItalic;
    src: url(/Content/fonts/Roboto-LightItalic.ttf);
}

@font-face {
    font-family: robotoCondensed;
    src: url(/Content/fonts/RobotoCondensed-Regular.ttf);
}

@font-face {
    font-family: robotoCondensedItalic;
    src: url(/Content/fonts/RobotoCondensed-Italic.ttf);
}

@font-face {
    font-family: robotoCondensedBold;
    src: url(/Content/fonts/RobotoCondensed-Bold.ttf);
}

@font-face {
    font-family: robotoCondensedBoldItalic;
    src: url(/Content/fonts/RobotoCondensed-BoldItalic.ttf);
}

@font-face {
    font-family: robotoCondensedLight;
    src: url(/Content/fonts/RobotoCondensed-Light.ttf);
}

@font-face {
    font-family: robotoCondensedLightItalic;
    src: url(/Content/fonts/RobotoCondensed-LightItalic.ttf);
}

@font-face {
    font-family: robotoMedium;
    src: url(/Content/fonts/Roboto-Medium.ttf);
}

@font-face {
    font-family: robotoMediumItalic;
    src: url(/Content/fonts/Roboto-MediumItalic.ttf);
}

@font-face {
    font-family: robotoThin;
    src: url(/Content/fonts/Roboto-Thin.ttf);
}

@font-face {
    font-family: robotoThinItalic;
    src: url(/Content/fonts/Roboto-ThinItalic.ttf);
}

html {
    height:100%;
}
body, input, button, textarea, select {
    font-family: robotoCondensed;
    font-size: 1em;
}

body {
    height: 100%;
    color: #333;
    margin: 0;
    background: rgb(255,255,255); /* Old browsers */
    /*
    -- this looked funny in the shim    
    background-image:url(/Content/images/LoginBkgd.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top; 
        */
}
#pageNotLoaded {
    width: 80%;
    border: solid 2px #F05A28;
    margin: 0 auto;
    margin-top: 100px;
    padding: 20px;
    border-radius: 10px;
    background-color: #eee;
    position:relative;
    height:75px;
}
    #pageNotLoaded img {
        width:75px;
        margin-right:20px;
    }

    #pageNotLoaded span {
        position:absolute;
        top:45px;
    }

#main-content {
    height: 100%;
}
#helpModal, #messageModal, #messageModal, #fileViewer, #driverDetailsModal {
    display: none;
    z-index: 499;
    position: relative;
    width: 100%;
    top: 0px;
    min-height: 1000%;
    background-color: rgb(255, 255, 255);
    margin-bottom: 100px;
}
    #messageModal {
        background-color: #eee;
    }

    #helpModal h1, #driverDetailsModal h1 {
        border-bottom: solid 2px #ccc;
        padding-bottom: 10px;
    }
    #helpModal h2, #driverDetailsModal h2 {
        color: #F05A28
    }
    #helpModal h3 {
        color: #000;
    }
    #helpModal li {
        list-style-type:none;
        vertical-align:baseline;
        margin-bottom:5px;
        position:relative;
    }
        #helpModal li a {
            position:relative;
            bottom:10px;
            left:10px;
            text-decoration:none;
        }
    #helpModal ol {
        padding-left:0px;
    }

    header {
    position: fixed;
    background-color: #BCBEC0;
    margin: 0px;
    color: #262261;
    height:55px;
    top:0px;
    width:100%;
    z-index:500;
}
header h1 {
    font-family:robotoCondensed;
    display: inline-block;
    text-align:left;
    text-overflow:ellipsis;
    overflow: hidden;
    white-space:nowrap;
    max-width:230px;
    margin:0px;
    font-size:20px;
    margin-left:60px;
    margin-top:7px
}
header h1 img {
    height:30px;
    position: relative;
    top: 5px;
}
header span.hamburger {
    color:white;
    border-right:solid 1px #A7A9AC;
    padding: 5px 8px;
    margin: 5px 0px;
    height:40px;
    position:absolute;
    width:40px;
}
header span.hamburger img {
    height:35px;
}

header span.refresh {
    position:absolute;
    right:0px;
}
header span.refresh img{
    height:55px;
    cursor:pointer;
}
#updateDetails h2, thead th {
    font-family: robotoCondensedLight;
    color: #676D72;
    margin: 5px 0px 5px 0px;
    font-size: 1.5em;
}
/*h2 span {margin-left:5px;}*/
h1 {
    margin-top: 0;
    font-family: robotoCondensedLight;
    font-size: 1.5em;
    text-transform: uppercase;
}
#mainMenu h1, #shipmentMenu h1 {
    font-family: robotoThin;
    font-size: 2em;
    margin-top: 15px;
}
h3 {
    color: #4971BB;
    font-size: 1em;
    margin: 0;
    text-transform: uppercase;
}
h4 {
    color: #000;
    font-size: 1.2em;
    margin: 0;
    margin-top: 10px;
}

dt {
    color:#676D72;
    font-weight:bold;
}
dd {
    margin-left:10px;
    margin-bottom:15px;
    margin-top:5px;
    font-style:italic;
}


span.highlight {
    color: #f05a28;
    font-weight: normal;
    font-family: robotoCondensed;
}
h3.sectionH3 {
    font-size: 1.2em;
    font-family: robotoCondensed;
    line-height: 2em;
}

.sectionUL {
    line-height: 2.5em;
}

span.caption {
    font-size: .8em;
    font-style: italic;
}
th {
    font-family:robotoThin;
    padding-bottom:10px;
}
td {
    padding-bottom:10px;
}
label {
    font-family: robotoCondensed;
    font-size: 1.2em;
    color: #000;
    font-weight: normal;
}

    label span {
        color: #0f4e9f;
        font-weight: normal;
        font-family: robotoCondensedLight;
    }

label.keyValue {
    color:#4971BB;
    font-weight:normal;
    display:block;
}
label.keyValue span {
    margin-left:5px;
    font-weight:bold;
    color:#000;
}
label {
    font-family: robotoCondensed;
    font-size: 1.1em;
    color: #333;
}
label h2 {display:inline-block;}
fieldset {
    background-color:#F1F2F2;
    padding:10px;
    border:none;
    margin-top:10px;
    text-align:left;
    position:relative;
}
    fieldset:nth-child(odd)  {
        background-color:#D0D2D3;
    }
    fieldset ul {
        margin:0px;
        padding:0px
    }
        fieldset ul li {
            margin:0px;
            padding:0px;
            list-style:none;
        }

        fieldset input.dpsDocId {
            position: absolute;
            right: 5px;
            top: 5px;
            transform: scale(2, 2);
        }

    fieldset.hazmat {
        background-color: #FFF1EF;
        border: solid 1px red;
    }

    input, select, textarea, canvas {
        border: solid 1px #D0D2D3;
        border-radius: 2px;
        padding: 6px;
        font-size: 1em;
        min-height: 30px;
        margin-top: 3px;
    }

span.input {
    background-color: #f1f2f2;
    border-radius: 2px;
    padding: 9px 6px 3px;
    font-size: 1em;
    min-height: 30px;
    margin-top: 3px;
}

input.error, select.error, textarea.error, canvas.error {
    border: solid 1px #cd0a0a !important;
    background-color: #f2dede !important;
}

#driverMessageDiv textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    font-size: 1.5em;
    opacity: 1; /* Firefox */
    font-family: robotoCondensedLight;
    text-transform: capitalize;
    padding-top: 15px;
}
#stopLists input, #agreeToTerms, input[type=checkbox]  {
    border: solid 1px #D0D2D3;
    border-radius: 2px;
    padding: 6px;
    font-size: 1em;
    min-height: 0px;
    margin-top: 9px;
}

input[type="file"] {
    position:absolute;
    left:-9999px;
}
#updateDetails table {
    border-spacing:0px;
    border-radius:3px;
}
#updateDetails table tbody {
    border: solid 2px transparent;
    border-spacing: 0px;
    border-radius: 5px;
    display: block;
    padding: 5px;
}
#updateDetails table tbody:nth-child(even) {
    border: solid 2px #D0D2D3;
}

button:disabled {
    color:#aaa;
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}
::-webkit-input-placeholder {
   color: #D0D2D3;
   font-size:.7em;
   text-align:center;
}

:-moz-placeholder { /* Firefox 18- */
   color: #D0D2D3;  
   font-size:.7em;
   text-align:center;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #D0D2D3;  
   font-size:.7em;
   text-align:center;
}

:-ms-input-placeholder {  
   color: #D0D2D3;  
   font-size:.7em;
   text-align:center;
}

div.filter{
    font-family:robotoRegular;
    background-color:#676D72;
    color:#fff;
    padding:10px;
    text-align:left;
    padding-left:30px;
    font-size:.9em;
    margin:0px;
    position:fixed;
    width:100%;
}


.filter span, #stopLists .filter label  {
    color:#FDD08C;
    font-weight:bold;
}
div.stopListItems:nth-of-type(2) { /* pad the second child, which is the first stop list item*/
    margin-top:65px;
}
div.date {
    font-family:robotoCondensed;
    padding:10px 5px;
    text-align:left;
    color:#fff;
    background-color:#F05A28;
}
ul.cards {
    margin:0px;
    padding:0px;
    text-align:left
}
    ul.cards h2 {
        font-size: 1.2em;
        margin: 0;
    }
ul.cards li {
    padding:10px;
    margin:10px;
    list-style:none;
    background-color:#eee;
    border-left:solid 5px #fff;
    cursor:pointer;
}
ul.cards li.selected {
    border-left: solid 5px #4971BB;
}
ul.cards li.completed, ul.cards li.completed label.keyValue span h2 {
    background-color:#444;
    color:#fff;
}
ul.cards li.error, ul.cards li.error label.keyValue span, ul.cards li.error h2 {
    background-color:#cd0a0a;
    color:#fff;
}
ul.cards li.error label  {
    color:#000
}
ul.cards li.completed label.keyValue span {
    color:#fff
}
    
ul.cards li label.required {
    color:#a10c10;
    font-weight:bold;
    font-size:.9em;
}
ul.cards li label.captured {
    color:#ccc;
    font-weight:bold;
    font-size:.9em;
}

address {
    font-style: normal;
    font-size: 1em;
    font-weight: normal;
    font-family: robotoCondensedLight;
}
address span{
    padding-left:0px !important;
}
menu {

    margin:0;
    padding:0;
    display:none;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index:1000;
    display:none;
}
menu div.menuContainer {
    position:fixed;
    top:0px;
    background-color:#fff;
    width:338px;
    height:100%;
    margin:0;
    padding:0;
    background-image:url(/Images/watermark.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom; 

}
menu div.title  {
    background-color:#F05A28;
    border-bottom:solid 8px #99351A;
    width:100%;
    color:#fff;
    margin:0px;
    padding:0px;
    font-size:.7em;
    text-align:left;
    position:relative;
}
menu div.title span {
    position:absolute;
    right:0px;
    height:60px;
    display:inline-block;
    border-left:solid 3px #99351A;
    vertical-align:middle;
}
menu div.title span img {
    height:50px;
    top:0px;
    margin-top:5px;
    cursor:pointer;
}
menu h1{
    font-family:robotoThin;
    display:inline-block;
    padding-left:20px;
}
menu ul {
    margin:0px;
    padding-left:0px
}
menu li {
    list-style:none;
    margin:0px;
    text-align:left;
    background-color: #676D72;
    margin:10px 0px 10px 20px;
    border-top-left-radius:20px;
    border-bottom-left-radius:20px;
    color:#fff;
    height:40px;
    position:relative;
}
menu li a {
    color:#fff;
    text-decoration:none;
    height:40px;
    display:inline-block;
    padding-top:8px;
    margin-left:43px;
    cursor:pointer;
    font-family:robotoThin
}

menu li img.alignRight {
    position:absolute;
    right:0px;
    top:0px;
    height:40px;
    background-color:#fff;
}
menu li img.alignLeft {
    height:40px;
    position:absolute;
    left:0px;
    top:0px
}
.alignRight {
    position:absolute;
    right:0px;
    top:0px
}
menu ul.squareButtons{
    margin-left:5px;
    margin-top:2px;
    border-bottom:solid 1px #ebeef2;
    padding-bottom:15px;
    margin-bottom:15px;
}

menu ul.squareButtons li {
    display:inline-block;
    width:103px;
    height:100px;
    border:none;
    margin:5px;
    border-radius:0px;
    margin-right:2px;
    margin-left:2px;
    margin-bottom:2px;
    text-align:center;
    font-family:robotoMedium;
    text-transform:uppercase;
    font-size:.9em;
    background-color:#ebeef2;
    color:#262261;
}
menu ul {
    margin-left:20px;
    margin-top:0px;
}

menu ul.squareButtons li div.btn {
    height:50px;
    width:50px;
    background-size:cover;
    background-repeat:no-repeat;
    cursor:pointer;
    margin:auto;
    margin-top:12px;
    margin-bottom:8px;
}
menu ul.squareButtons li div.arrive-btn {
    background-image:url(/Content/images/ArriveIcon.png);
}
menu ul.squareButtons li div.update-btn {
    background-image:url(/Content/images/UpdateIcon.png);
}
menu ul.squareButtons li div.depart-btn {
    background-image:url(/Content/images/DepartIcon.png);
}
menu ul.squareButtons li div.sign-btn {
    background-image:url(/Content/images/SignIcon.png);
}
menu ul.squareButtons li div.capture-btn {
    background-image:url(/Content/images/CaptureIcon.png);
}
menu ul.squareButtons li div.dps-btn {
    background-image:url(/Content/images/DPSIcon.png);
}

menu ul.squareButtons li.disabled, menu ul.squareButtons li.disabled div.btn {
    -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
    filter: grayscale(100%);
    cursor:not-allowed;
}
menu ul.squareButtons li.completed, menu ul.squareButtons li.completed div.btn {
    -webkit-filter: grayscale(0%); /* Chrome, Safari, Opera */
    filter: grayscale(%);
    cursor:not-allowed;
}

menu ul.squareButtons li.completed div.btn {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    background-image:url(/Content/images/CompletedEventIcon.png);
    cursor:not-allowed;
}

header.locationDisabled, menu.locationDisabled {
    background: red;
    color: #fff;
}

.instructions {
    padding:0px 0px 10px 20px;
    background-color:#676D72;
/*    margin-top:82px;*/
}
    .instructions p {
        margin: 0px;
        color: #fff;
        font-size: 1.2em;
        padding-top: 10px;
        text-transform: uppercase;
    }
blockquote {
    color: #FDD08C;
    font-size:1em;
    margin:0px;
    padding:0px;
}

sup {
    border-radius: 2px;
    color: #000;
    float: right;
    padding: 4px 8px;
    font-family: robotoCondensedLight;
    font-size: 0.7em;
    margin-right: 2px;
    font-weight:normal;
}
sup.rejected {
  background-color: #a10c10;
  border: 2px solid #fff;
  color: #fff;
}
sup.required {
  background-color: #F05A28;
  border: 2px solid #fff;
  color: #fff;
}

sup.signature {
  background-color: #676D72;
  border: 2px solid #fff;
  color: #fff;
}
    sup.hazmat {
        border: red 1px solid;
        background-color: #ffff67;
    }
sup.captured {
  background-color: #2e9566;
  border: 2px solid #fff;
  color: #fff;
}

.modal {
    display:none;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1001;
}
.modal fieldset {
    position:fixed;
    width:300px;
    top:100px;
    left:2.5%;
    background-color:#fff;
    z-index: 1100;
    height:200px;
    left: 50%;
    margin-left: -161px;

}
.modal fieldset legend {
    display:none;
    margin-top:0px;
    background-color: #fff;
    width: 100%;
    padding:0px;
}
.container {
    padding:10px;
    padding-top:65px;
    margin-bottom:45px;
}
.container-signature {
    padding: 10px;
    margin-bottom: 45px;
}
.required {
    font-family: robotoCondensedLight;
    color: #f05a28;
}
.error {
    border-color:#f05a28;
}
, textarea.error
, input[type="text"].error
, input[type="password"].error
, input[type="datetime"].error
, input[type="datetime-local"].error
, input[type="date"].error
, input[type="month"].error
, input[type="time"].error
, input[type="week"].error
, input[type="number"].error
, input[type="email"].error
, input[type="url"].error
, input[type="search"].error
, input[type="tel"].error
, input[type="color"].error
{
    border: 1px solid #c73939 !important;
    background: #FFF1EF url(/content/images/error.png) no-repeat 5px 5px !important;
    padding-left: 25px !important;
}
#reject {
    width:151px;
    display:inline-block;
    height:46px;
}
#accept {
    float:right;
    display:inline-block;
}
#xaccept img {
    margin-right: 5px;
    padding-right: 5px;
    position: absolute;
    top: 3px;
    right: -4px
}

#main-content {
    min-height: 400px;
    /*margin-bottom:300px; not sure why this was set  */
}
#loginForm {
    text-align: center;
    /*height: 100%;*/
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(230,231,232,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(230,231,232,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(230,231,232,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e7e8',GradientType=0 ); /* IE6-9 */
}

#loginForm div {
    margin:auto;
    margin-bottom:20px;
}
#loginForm label {
    color:#262261;
}
#loginForm img {
    width: 90%;
    max-width: 900px; /*Remove this to make it full screen*/
    margin-bottom: 30px;
    margin-top: 20px;
}
#loginForm input[type=image] {
    width:100px;
    border:none;
}

#connectionStatus {
    position: absolute;
    width: 100%;
    top: 55px;
    z-index: 100;
    height: 30px;
    color: white;
    vertical-align: middle;
    padding-top: 5px;
    text-align: center;
    display:none;
}
    #connectionStatus {
        display:block;
    }
        #connectionStatus.error {
            background-color: #cd0a0a;
        }

#stopLists {
    position:absolute;
    width:100%;
    top:55px;
    z-index:100;
    display:none;
}
    #stopLists.error {
        top: 85px;
    }

#stopLists div {
    /*margin-bottom:5px;*/
}

#shipmentDetails {
    position:absolute;
    width:100%;
    top:55px;
    z-index:200;
    display:none;
}

    #shipmentDetails .shipmentHeader {
        background-color: #eee;
        /*position: fixed;
    padding-left: 20px;
    height: 86px;
    */
        width: 100%;
        vertical-align: middle;
        margin-top: 78px;
        padding: 1px 0 6px 0;
    }
        #shipmentDetails .shipmentHeader address, #shipmentDetails .shipmentHeader h2 {
            font-size: 1.2em;
            margin: 10px;
        }
#shipmentDetails .details {
    background-color:#fff;
    min-height:200px;
    padding:20px;
    margin-bottom:60px;
}
#closeShipmentDetails {
    right:53px;
}
.noDataMessage {
    text-align:center;
    margin-top:100px;
}
/* these are sub sections for the details view */

#modalAlert {
    font-family: roboto;
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1100;
}
#modalAlert div.actions {
    position:relative;
    display:none;
}
    #modalAlert div.modalContainer {
        top: 5%;
        position: relative;
        background-color: #fff;
        z-index: 1000;
        margin: 10px;
        padding: 5px 30px 15px 30px;
        color: #000;
        border-radius: 2px;
        max-height: 90%;
        max-width: 500px;
        margin: auto;
        width: 80%;
        font-size:1.2em;
        text-align:center;
    }
#modalAlert div.modalMessageContainer {
    overflow:auto;
    max-height:400px;
    margin-bottom:10px;
    text-align:center;
}
    #modalAlert div.modalMessageContainer h2, #modalAlert div.modalMessageContainer p, #modalAlert div.modalMessageContainer li {
        text-align: left;
    }

    #modalAlert h1 {
        /* font-size:.85em;*/
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
    }
#modalAlertCancel { 
    background-color: #c81414;
}
#modalAlert h2 {
    font-size:.8em;
    margin-bottom:5px;
    color:#000;
}
#modalAlert p {
    color:#676D72;
    margin-left:5px;
}
#modalAlertHeader {
    /*vertical-align: middle; allegedly has no effect on anything? */
    text-align: center;
    font-size: 1.5em;
    font-family: robotoCondensedLight;
}

#modalAlertHeader img {
    width:30px;
    margin-right:10px;
    top: 5px;
    position: relative;
}


#modalTimeclock {
    font-family:robotoMedium;
    display:none;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1100;
}

#modalTimeclock div.actions {
    position:relative;
}
#modalTimeclock div.actions button {
    margin-bottom:10px;
    min-width: 92px;
}
#modalTimeclock div.modalContainer {
    top: 25%;
    position: relative;
    background-color: #fff;
    z-index: 1000;
    margin: 10px;
    padding: 5px 30px 15px 30px;
    color:#000;
    border-radius: 5px;
    max-height:70%;
    max-width: 500px;
    margin: auto;
    width:80%;
}

#modalTimeclock div.modalMessageContainer {
    overflow:auto;
    max-height:200px;
    margin-bottom:10px;
}
#modalTimeclock div.modalMessageContainer span {
    font-weight:bold;
    font-size:.9em;
}
#modalTimeclock div.modalMessageContainer label {
    display:inline-block;
    width:115px;
}

#modalTimeclock h1 {
font-size: 1.12em;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: solid 1px;
}
#modalTimeclock h2 {
    font-size:.8em;
    margin-bottom:5px;
    color:#000;
}
#modalTimeclock p {
    color:#676D72;
    margin-left:5px;
}
/*
#modalAlertHeader {
    vertical-align:middle;
    font-family:robotoMedium;
}
#modalAlertHeader img {
    width:35px;
    margin-right:10px;
    top: 11px;
    position: relative;
}
    */
#messageModal fieldset.dispatch {
    padding: 10px;
    margin: 0px;
    list-style: none;
    background-color: #fff;
    border-right: solid 10px #F05A28;
    margin-left: 30px;
    margin-bottom: 5px;
   border-radius:3px;
}
#messageModal fieldset.driver {
    padding: 10px;
    margin: 0px;
    list-style: none;
    background-color: #d1d3d4;
    border-left: solid 10px #27aae1;
    margin-right: 30px;
    margin-bottom: 5px;
}
    #messageModal fieldset.driver span.date, #messageModal fieldset.dispatch span.date
    {
        display: block;
        text-align: right;
        font-size: .7em;
        font-style: italic;
    }

#captureCanvas {
    max-width:100%;
    max-height:300px;
}
#capturePreview {
    max-width:100%;
    max-height:100%;
}
/*
#signature {
    border: solid 3px #D0D2D3;
    border-radius: 5px;
}
*/
.floatingBtn {
    position: fixed;
    bottom: 10px;
    right: 20px;
    width: 75px
}
#captureSignature .container{
    position:relative;
}
#captureSignature label {
    margin-top: 30px;
    display: block;
}
#signature {
    margin:auto 0;
}
#dpsDetails div.container {
    padding-top:65px;
}
#dpsDetails ul, #dpsDetails ul li {
    margin: 0px;
    padding: 0px
}
#dpsDetails ul li {
    list-style-type:none;
    margin-top:10px;
    position:relative;
}
#dpsDetails ul li img {
    width: 95%;
    padding: 5px;
    border: solid 1px #ddd;
}
#dpsDetails ul li sup.delete {
    position:absolute;
    top:10px;
    right:15px;
    background-color: #a10c10;
    border: 2px solid #fff;
    color: #fff;
    cursor:pointer;
}
#dpsDetails select {
    width:100%;
}
#dpsDetails p {
    margin-top:5px;
}

#docType {
    border-radius: 0px;
    padding: 10px;
    font-size: 1em;
    border: none;
    background-color: #eee;
}
#dpsCreateDocumentBar {
    padding: 8px;
    background-color: #686C72;
    text-align: center;
    border-radius:1px;
    margin-bottom:5px;
}

/*
#captureDpsDocument, #captureDpsDocumentBrowse {
    border: solid 1px #fff;
    width: 75%;
    display: inline-block;
    margin: auto 0;
    padding: 5px;
    color: #F0CF8A;
    font-size: 1.2em;
    cursor: pointer;
    text-transform: uppercase;
}
    #captureDpsDocument img,, #captureDpsDocumentBrowse img {
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px;
    }

    */
#driverMessageDiv {
    background-color: #fff;
    height: 65px;
    margin-bottom: 10px;
    position: fixed;
    top: 53px;
    padding-bottom: 5px;
    padding-bottom: 10px;
    width: 100%;
    left: 0px;
    -moz-box-sizing: border-box: box-sizing: border-box:;
}
    #driverMessageDiv table {
        width: 100%;
    }
    #driverMessageDiv img {
        position: absolute;
        right: 5px;
        top: 5px;
    }


#driverMessage {
    border:none;
    border-radius:0px;
    width: 100%;
    margin-right: 52px;
    display: inline-block;
    margin: auto 0px;
    height: 50px;
}
    #driverMessage:focus {
        margin-bottom:295px;
    }
.details {
    position:relative;
}
.detailsWindow {
    display: none;
    margin-bottom: 800px;
}
.actions {
    position:fixed;
    bottom:0px;
    padding-bottom:5px;
    padding-bottom:10px;
    background-color: #fff/*inherit*/;
    text-align: center;
    width:100%;
}
    .actions button, .button {
        font-family: robotoCondensedLight;
        color: #fff;
        border-radius: 2px;
        background-color: #676D72;
        border: none;
        padding: 5px;
        min-width: 100px;
        height: 45px;
        font-size: 1em
    }
    .actions button.cancel {
        background-color: #c81414;

    }

.buttonBar  {
    background-color:#A6A7AB;
    height:45px;
    position:fixed;
    width:100%;
    z-index:99;
}
div.hideButtonBar {
    height: 1px !important;
    background-color: #676D72 !important;
}

div.buttonBarTopWithAcceptRejectButtons {
    position: relative;
    top: -35px;
}
div.buttonBarTopWithTimeLabels {
    position: relative;
    top: 0px;
}
div.buttonBarTop {
    position: relative;
    top: -80px;
}

/*
.buttonBarShim {
    height:68px;
}
*/
.buttonBar.buttonBarShim {
    background-color: #fff;
    padding-top: 5px;
    height:75px
}
.buttonBar button img {
    height:39px
}
.buttonBar a img{
    height:45px;
}
    .buttonBar h2 {
        font-size: 1em;
        margin-left: 10px;
        line-height: 16px;
        margin: 5px 0 5px 10px;
        font-family: robotoCondensedLight;
    }
.validation-summary-errors {
    border:3px solid #F05A28;
    color: #F05A28;
    background-color:#fff;
    border-radius:5px;
    list-style: none;
    max-width: 400px;
    width:70%;
    font-size: .8em;
}

.validation-summary-errors ul{
    padding: 0 !important;
    margin: 0 !important;
    text-align:left;
}
.validation-summary-errors ul li {
    list-style-type:none;
    padding:5px;
    margin-left:20px;
    padding-left:0px;
    text-align:center;
}
.acceptShim {
    top:101px !important;
}
/*
.instructionsShim {
    margin-top: 128px !important;
}
    */
.dpsShim {
    height: 32px;
    padding-top: 14px;
}

.debug {
    visibility:visible;
}

.spanFull { width: 93%; *width: 93.94680851063829%; display:inline-block;}
.spanHalf { width: 48.717948717948715%; *width: 48.664757228587014%; display:inline-block;}



.modalDialogOverlay {
    font-family: robotoCondensedLight;
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1100;
}

.modalDialogContainer {
    top: 5%;
    position: relative;
    background-color: #fff;
    z-index: 1000;
    margin: 10px;
    color: #000;
    max-width: 500px;
    margin: auto;
    width: 90%;
    padding-bottom: 1px;
}
.modalDialogScrollContainer {
    overflow-y: scroll;
    max-height: 550px;
    overflow-x: hidden;
}

.modalDialogContainer h1 {
    background-color: #769CBB;
    color: #FFF;
    font-weight: bold;
    padding: 10px;
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
}

        .modalDialogContainer h1 img {
            width: 30px;
            position: absolute;
            right: 7px;
            top: 7px;
        }

.modalDialogBody {
    margin: 10px;
    background-color: #eee;
    text-align:justify;
    font-size: 1em;
    padding: 10px;
    position: relative;
}

    .modalDialogBody h2 {
        color: #F05A28;
        margin-left: 25px;
        font-family: robotoCondensedLight;
        font-size: 1em;
        margin-top: -1px;
    }

    .modalDialogBody ol {
        margin: 0px;
    }

        .modalDialogBody ol li {
            margin-bottom: 10px;
        }

    .modalDialogBody img {
        position: absolute;
        width: 30px;
        left: 0px;
        top: 0px;
    }

.modalDialogList {
    margin: 10px;
    background-color: #fff;
    padding: 5px 13px 5px 0px;
    position: relative;

}
    .modalDialogList label {
        text-transform:uppercase;
    }
    .modalDialogList input, .modalDialogList select {
        background: #eee;
        width: 100%;
        border: none;
        border-radius: 0px;
        margin-top:2px;
        min-height:35px;
        border:solid 1px #eee;

    }
    .modalDialogList input[type=checkbox] {
        width: 30px;
        min-height: 21px;
        margin: 0px;
        padding: 0px;
        vertical-align: middle;
    }
    .modalDialogList.actions {
        text-align:center;
    }
    .modalDialogList button {
        background: #F05A28;
        color: #fff;
        font-weight: normal;
        border: 0px;
        padding: 10px 15px;
        text-align: center;
        margin: 0 auto;
        width: 100px;
        height: 40px;
        text-transform: uppercase;
    }
    .modalDialogList label {
        text-transform: none;
        margin-top: 10px;
        display: inline-block;
    }

    .modalDialogOption {
        margin: 10px;
        background-color: #676D72;
        padding: 5px 0px;
        position: relative;
        border-radius:3px;
    }

        .modalDialogOption .button {
            border: solid 1px #fff;
            margin: 10px 20px;
            cursor: pointer;
            height: 35px; /* this counteracts the height change on the default button class */
        }

        .modalDialogOption .button span {
            color: #FDD08C;
            font-weight: bold;
            font-size: 1.5em;
            margin-left: 15px;
            vertical-align: top;
        }

        .modalDialogOption .button img {
            width: 37px;
        }

#modalWhatsNew .modalDialogContainer h1 {
    background-color: #769CBB;
    color: #fff;
    /* font-weight: bold; */
    padding: 10px;
    font-size: 1.2em;
    text-transform: uppercase;
    text-align: center;
}

#modalWhatsNew .modalDialogBody h2 {
    color: #769CBB;
    margin-left: 25px;
    font-family: robotoCondensedLight;
    font-size: 1.5em;
    margin-top: -7px;
}

#modalWhatsNew .modalDialogBody {
    margin: 10px;
    background-color: transparent;
    text-align: justify;
    font-size: 1em;
    padding: 10px;
    position: relative;
}

#modalWhatsNew .modalDialogList button {
    background: #769CBB;
    color: #fff;
    font-weight: normal;
    border: 0px;
    padding: 10px 15px;
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 100px;
    height: 40px;
    text-transform: uppercase;
}

#signatureRequestQRCode {
    display: block;
    width: 85%;
    max-width:300px;
    margin: 0 auto;
}