﻿@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Muli:400italic);

html {
    height: 100%;
}
body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    height: 100%;
}
body > form {
    height: 100%;
}
.page {
    position: relative;
    min-height: 100%;
}
.main {
    padding-top: 20px;
}
.page .main {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-bottom: 120px;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
p {
    padding: 0;
    margin: 0;
}
.bold {
    font-weight: bold;
}
.failureNotification {
    color: #f00;
    font-weight: bold;
}
.failureNotification ul {
    margin: 10px 0 0;
}

/* Header */
.header {
    overflow: visible;
    top: 0;
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}
.title {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.titleImage {
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.titleText {
    display: inline-block;
    margin-left: 20px;
    margin-top: 5px;
}
h1 {
    font-size: 25px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

/* Sign In/Out Link */
.loginDisplay {
    width: 960px;
    text-align: right;
    position: absolute;
    left: 50%;
    margin-left: -500px;
    bottom: 15px;
    font-size: 16px;
}

/* Menu */
div.menuWrap {
	position: relative;
	height: 0;
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
div.menu {
	position: absolute;
}
div.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: auto;
}
div.menu ul li a,
div.menu ul li a:visited {
    display: block;
	white-space: nowrap;
    line-height: 22px;
    margin: 1px;
}
div.menu ul li.has-popup > a:after {
    content: "";
    position: absolute;
    top: 45%;
    right: 6px;
    width: 0;
    height: 0;
    border-top: 4px solid;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}
div.menu ul ul {
    z-index: 9999;
    position: absolute;
}

/* Dashboard */
h3, h4 {
    padding: 0 0 5px 0;
    margin: 0;
}
.section h3 {
    margin: -5px 0 0 -2px;
}
.dashboard {
    width: 980px;
    height: 450px;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.dashboard .section {
    position: absolute;
    padding: 12px;
    border: 1px solid #e1e1e1;
    background-color: #fff;
    background-image: linear-gradient(to top, #e3e3e3, #efefef 3px, #fff 47px);
    box-shadow: 0 10px 10px -7px #666;
}
#dashboardFundedDiv {
    display: none;
}
#dashboardOpenDiv {
    width: 964px;
    top: 0;
    height: 220px;
}
#dashboardNewsDiv,
#dashboardInfoDiv,
#dashboardContactDiv {
    width: 286px;
    top: 270px;
    height: 165px;
}
#dashboardOpenDiv,
#dashboardNewsDiv {
    left: 0;
}
#dashboardInfoDiv { left: 339px; }
#dashboardContactDiv { left: 678px; }
#dashboardNewsHistory {
    position: absolute;
    top: 13px;
    right: 10px;
}
.hasLeads #dashboardOpenDiv,
.hasReferrals #dashboardOpenDiv {
    width: 453px;
}
.hasLeads #dashboardLeadsDiv,
.hasReferrals #dashboardReferralsDiv {
    top: 0;
    left: 511px;
    width: 453px;
    height: 220px;
}
.hasLeads.hasReferrals #dashboardLeadsDiv {
    height: 100px;
}
.hasLeads.hasReferrals #dashboardReferralsDiv {
    top: 150px;
    height: 70px;
}
#dashboardContactDiv .img {
    float: right;
}
#dashboardContactDiv span {
    display: block;
    padding: 3px 0;
}
.dashboard .section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 40px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    overflow: auto;
}
.dashboard .section li {
    padding: 2px;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.dashboard .grid li {
    border-bottom: 1px solid #e1e1e1;
    text-align: right;
    padding: 0;
}
.dashboard .grid li:last-child {
    border-bottom: none;
}
.dashboard .grid li span {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: inline-block;
}
    .dashboard .grid li .gridMonthly {
        display: none;
    }

.gridCaption {
    float: left;
    text-align: left;
}
.gridAmt {
    width: 150px;
}
.gridMonthly {
    width: 100px;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 18px;
}
.footer:before {
    white-space: pre;
}
.lpLink {
    position: absolute;
    top: -42px;
    left: 0;
    right: 0;
}
.lpLink a,
.lpLink a:hover {
    text-decoration: none;
}
.lpLink a:before {
    content: "Powered by";
    font-family: "Muli", sans-serif;
    font-style: italic;
    font-size: 14px;
    color: #333;
    text-transform: none;
    letter-spacing: normal;
    vertical-align: 7px;
    padding-right: 5px;
}
body.masterEmpty.afgApp form,
body.masterEmpty.afgLanding form {
    position: relative;
    height: auto;
    min-height: 100%;
}
body.masterEmpty.afgApp.embed form {
    position: static;
    height: 100%;
    min-height: 0;
}
body.masterEmpty.afgApp .main,
body.masterEmpty.afgLanding .main {
    padding-bottom: 130px;
}
body.masterEmpty.afgApp.embed .main {
    padding: 0;
}
body.masterEmpty.afgApp .lpLink,
body.masterEmpty.afgLanding .lpLink {
    top: auto;
    bottom: 0;
}
body.masterEmpty.afgApp.embed .lpLink {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 910px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
}

/* Page Sub-Header */
.pageSubHeader {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
}
.pageSubHeader > :first-child {
    font-size: 14px;
}
.pageSubHeader span {
    font-weight: bold;
    font-size: 34px;
    line-height: 26px;
}

/* Input Styles */
input[type=text],
input[type=password] {
    height: 20px;
    padding: 4px 10px;
    border: 1px solid #d4d2d2;
    color: #999;
    box-shadow: inset 0 0 7px 0 #cecece;
    background: #fff;
    border-radius: 5px;
    font-size: 15px;
    font-family: "Open Sans", sans-serif;
}
input[type=button],
input[type=submit],
#appReview .linkButton,
button {
    border: none;
    cursor: pointer;
    height: 30px;
    text-align: center;
    white-space: nowrap;
    min-width: 100px;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    padding: 0 10px;
}

/* Login Prompts */
.accountInfo fieldset {
    border-style: none;
    padding: 10px 40px;
}
.accountInfo fieldset > legend {
    display: none;
}
.accountInfo fieldset label {
    display: inline-block;
    width: 100px;
}
.accountInfo fieldset input {
    width: 400px;
}
.accountInfo fieldset > p {
    padding-top: 5px;
}
.accountInfo p.submitButton {
    text-align: center;
}
.forgotLink > a,
.returnLink > a {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
#changePasswordContent,
#newUserContent,
#loginContent,
#resetPasswordContent,
#registerContent {
    position: relative;
    width: 626px;
    padding: 12px 12px 36px 12px;
    border: 1px solid #e1e1e1;
    margin: 30px auto 0;
    background-image: linear-gradient(to top, #e3e3e3, #efefef 3px, #fff 47px);
    box-shadow: 0 10px 10px -7px #666;
}
#changePasswordContent fieldset label {
    width: 160px;
}
#changePasswordContent fieldset input {
    width: 345px;
}

/* Shared Background Images */
#applicationsGrid,
#leadsGrid,
#leadSummaryGrid,
#appReview,
#newsList,
#newsItem,
#usersGrid,
#portalsGrid,
#portalConfig,
#termsOfUseSection,
#privacyPolicySection,
#referralsGrid,
#uploadDiv {
    position: relative;
    padding: 12px 7px;
    border: 1px solid #e1e1e1;
    background-image: linear-gradient(to top, #e3e3e3, #efefef 3px, #fff 47px);
    box-shadow: 0 10px 10px -7px #666;
}
#applicationsGrid {
    width: 1210px;
    margin: 30px 0 0 -100px;
}
#leadsGrid {
    width: 1177px;
    margin: 30px 0 0 -100px;
}
#appReview,
#newsList,
#newsItem,
#portalConfig,
#termsOfUseSection,
#privacyPolicySection,
#referralsGrid,
#uploadDiv {
    width: 977px;
    margin: 30px auto 0;
}
#leadSummaryGrid {
    width: 650px;
    margin: 30px auto 0;
}
#usersGrid,
#portalsGrid {
    width: 1100px;
    margin: 30px auto 0;
}

/* News */
.newsSection .newsDate {
    text-align: right;
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
}
.newsSection .newsLink {
    text-align: right;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.newsSection .newsBody {
    display: block;
    padding: 10px 10px 20px;
    white-space: pre-wrap;
}
.newsSection .newsListItem {
    position: relative;
    padding-top: 10px;
    overflow: hidden;
}

/* Grids (Applications, User Profiles) */
#applicationsGrid h3,
#leadsGrid h3,
#leadSummaryGrid h3,
#usersGrid h3,
#portalsGrid h3,
#referralsGrid h3 {
    padding-left: 5px;
    display: inline-block;
}
#applicationsGrid .gridControls,
#leadsGrid .gridControls,
#leadSummaryGrid .gridControls,
#usersGrid .gridControls,
#referralsGrid .gridControls {
    float: right;
}
#applicationsGrid .gridControl,
#leadsGrid .gridControl,
#leadSummaryGrid .gridControl,
#usersGrid .gridControl,
#referralsGrid .gridControl {
    margin-left: 20px;
    display: inline-block;
}
#applicationsGrid .gridControlCaption,
#leadsGrid .gridControlCaption,
#leadSummaryGrid .gridControlCaption,
#usersGrid .gridControlCaption,
#referralsGrid .gridControlCaption {
    margin-right: 5px;
}
#applicationsGrid .gridControl select,
#leadsGrid .gridControl select,
#leadSummaryGrid .gridControl select,
#usersGrid .gridControl select,
#referralsGrid .gridControl select {
    border: 1px solid #d4d2d2;
    border-radius: 5px;
    font-size: 14px;
}
#applicationsGrid ul,
#leadsGrid ul,
#leadSummaryGrid ul,
#usersGrid ul,
#portalsGrid ul,
#referralsGrid ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    clear: both;
}
#applicationsGrid li,
#leadsGrid li,
#leadSummaryGrid li,
#usersGrid li,
#portalsGrid li,
#referralsGrid li {
    border-bottom: 1px solid #e1e1e1;
    padding: 3px 0;
    font-size: 0;
}
#applicationsGrid li.link:hover {
    background: #ecf0f4;
    cursor: pointer;
}
#applicationsGrid li:last-child,
#leadsGrid li:last-child,
#leadSummaryGrid li:last-child,
#usersGrid li:last-child,
#portalsGrid li:last-child,
#referralsGrid li:last-child {
    border-bottom: none;
}
#applicationsGrid li span,
#leadsGrid li span,
#leadSummaryGrid li span,
#usersGrid li span,
#portalsGrid li span,
#referralsGrid li span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    padding: 0 3px;
}
#applicationsGrid li span {
    font-size: 13px;
}
#leadsGrid li span,
#leadSummaryGrid li span,
#usersGrid li span,
#portalsGrid li span,
#referralsGrid li span {
    font-size: 14px;
}
#applicationsGrid .gridHeader,
#leadsGrid .gridHeader,
#leadSummaryGrid .gridHeader,
#usersGrid .gridHeader,
#portalsGrid .gridHeader,
#referralsGrid .gridHeader {
    border-top: 1px solid #e1e1e1;
    padding: 0;
    cursor: default;
}
#applicationsGrid .gridHeader:hover,
#leadsGrid .gridHeader:hover,
#usersGrid .gridHeader:hover,
#portalsGrid .gridHeader:hover,
#referralsGrid .gridHeader:hover {
    background: none;
}
#applicationsGrid .gridHeader span,
#usersGrid .gridHeader span,
#portalsGrid .gridHeader span {
    position: relative;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 4px;
    cursor: pointer;
}
#leadsGrid .gridHeader span,
#referralsGrid .gridHeader span {
    position: relative;
    text-align: left;
    padding-top: 4px;
    padding-bottom: 4px;
    cursor: pointer;
}
#leadSummaryGrid .gridHeader span {
    position: relative;
    padding-top: 4px;
    padding-bottom: 4px;
    cursor: default;
}
#applicationsGrid .gridHeader span:hover,
#leadsGrid .gridHeader span:hover,
#usersGrid .gridHeader span:hover,
#portalsGrid .gridHeader span:hover,
#referralsGrid .gridHeader span:hover {
    background: #ecf0f4;
}
#applicationsGrid .gridHeader span:after,
#leadsGrid .gridHeader span:after,
#usersGrid .gridHeader span:after,
#referralsGrid .gridHeader span:after {
    content: "";
    position: absolute;
    left: calc(50% - 4px);
    width: 0;
    height: 0;
    border: 4px solid transparent;
}
#applicationsGrid .gridHeader .sortAsc,
#leadsGrid .gridHeader .sortAsc,
#usersGrid .gridHeader .sortAsc,
#referralsGrid .gridHeader .sortAsc {
    background: #ecf0f4;
}
#applicationsGrid .gridHeader .sortAsc:after,
#leadsGrid .gridHeader .sortAsc:after,
#usersGrid .gridHeader .sortAsc:after,
#referralsGrid .gridHeader .sortAsc:after {
    top: -4px;
    border-top-color: transparent;
    border-bottom-color: rgba(0,0,0,0.5);
}
#applicationsGrid .gridHeader .sortDesc,
#leadsGrid .gridHeader .sortDesc,
#usersGrid .gridHeader .sortDesc,
#referralsGrid .gridHeader .sortDesc {
    background: #ecf0f4;
}
#applicationsGrid .gridHeader .sortDesc:after,
#leadsGrid .gridHeader .sortDesc:after,
#usersGrid .gridHeader .sortDesc:after,
#referralsGrid .gridHeader .sortDesc:after {
    top: 0;
    border-top-color: rgba(0,0,0,0.5);
    border-bottom-color: transparent;
}
#applicationsGrid .createdCol { width: 69px; }
#applicationsGrid .customerCol { width: 150px; }
#applicationsGrid .tradeNameCol { width: 120px; }
#applicationsGrid .contactCol { width: 140px; }
#applicationsGrid .assetCol { width: 150px; }
#applicationsGrid .costCol { width: 70px; text-align: right; }
#applicationsGrid .monthlyCol { width: 70px; text-align: right; display:none; }
#applicationsGrid .contractNumberCol { width: 70px; display:none; }
#applicationsGrid .salesPriceCol { width: 70px; text-align: right; display:none;}
#applicationsGrid .statusCol { width: 120px; }
#applicationsGrid .commissionCol { display: none; }
#applicationsGrid .fundingDateCol { width: 71px; }
#applicationsGrid .modifiedDateCol { width: 69px; }
#applicationsGrid .probabilityCol { width: 33px; text-align: right; }
#applicationsGrid .acctMgrCol { display: none; }
#applicationsGrid .salespersonCol { width: 119px; }
#applicationsGrid .actionCol { display: none; }
#applicationsGrid .commentCol {
    width: 20px;
    font-size: 0;
    text-align: center;
}

#applicationsGrid .gridHeader span.commentCol {
    text-align: center;
}

#applicationsGrid .commentCol:not(:empty):before {
    content: "💬";
    font-size: 14px;
}
#leadsGrid .createdCol { width: 80px; }
#leadsGrid .nameCol { width: 230px; }
#leadsGrid .customerCol { width: 230px; }
#leadsGrid .topicCol { width: 232px; }
#leadsGrid .costCol {
    width: 100px;
    text-align: right;
    padding-right: 10px;
}
#leadsGrid .gridHeader span.costCol { text-align: right; }
#leadsGrid .statusCol { width: 90px; }
#leadsGrid .reasonCol { width: 140px; }
#leadsGrid .commentCol {
    width: 20px;
    font-size: 0;
    text-align: center;
}
#leadsGrid .gridHeader span.commentCol { text-align: center; }
#leadsGrid .commentCol:not(:empty):before {
    content: "💬";
    font-size: 14px;
}
#leadSummaryGrid .monthCol { width: 220px; text-align: left; }
#leadSummaryGrid .openCol { width: 100px; text-align: center; }
#leadSummaryGrid .disqualifiedCol { width: 100px; text-align: center; }
#leadSummaryGrid .qualifiedCol { width: 100px; text-align: center; }
#leadSummaryGrid .totalCol { width: 100px; text-align: center; }
#usersGrid .userLoginCol { width: 140px; }
#usersGrid .userNameCol { width: 140px; }
#usersGrid .userEmailCol { width: 188px; }
#usersGrid .userStatusCol { width: 95px; }
#usersGrid .userActionCol { width: 148px; }
#usersGrid .userAccessCol { width: 113px; }
#usersGrid .userAccessActionCol { width: 111px; }
#usersGrid .userActivateCol { width: 100px; }
#usersGrid p { padding-top: 20px; }
#usersGrid .submitButton { text-align: center; }
#portalsGrid .portalAccountCol { width: 140px; }
#portalsGrid .portalTypeCol { width: 95px; }
#portalsGrid .portalActionCol { width: 148px; }
#referralsGrid .createdCol { width: 100px; }
#referralsGrid .nameCol { width: 376px; }
#referralsGrid .typeCol { width: 135px; }
#referralsGrid .statusCol { width: 100px; }
#referralsGrid .appDateCol { width: 100px; }
#referralsGrid span.netFinCol { width: 130px; text-align: right; }
#referralsGrid.hideNetFinCol .nameCol { width: 512px; }
#referralsGrid .footerCaption {
    width: 835px;
    text-align: right;
}

/* Review Application */
#appReview ul,
#portalConfig ul {
    word-spacing: 15px;
    margin-top: 30px;
    padding: 0 10px;
    border-top: 1px solid #b8b8b8;
    position: relative;
}
#appReview ul:before,
#portalConfig ul:before {
    word-spacing: normal;
    position: absolute;
    left: 10px;
    top: -22px;
    font-size: 16px;
    white-space: nowrap;
}
#generalSection:before { content: "General Information"; }
#accountSection:before { content: "Company Information"; }
#dealerQualSection:before {content: "Dealer Qualification"; }
#contactsSection:before { content: "Contact Information"; }
#salesSection:before { content: "Sales Information"; }
#bankSection:before { content: "Bank Information"; }
#vendorSection:before { content: "Vendor Information"; }
#equipmentSection:before { content: "Equipment Information"; }
#applicationSection:before { content: "Application Information"; }
#addlInfoSection:before { content: "Additional Information"; }
#attachmentSection:before { content: "Attachments"; }
#checklistSalesHeader:before {content: "Sales";}
#checklistFundingHeader:before {content: "Funding";}
#checklistItemSection:before {content: "Checklist Items";}
#appReview li,
#portalConfig li {
    width: 225px;
    list-style-type: none;
    display: inline-block;
    padding: 5px 0;
    word-spacing: normal;
    vertical-align: top;
}
#appReview #statusCommentItem {
    width: auto;
}
#appReview .contactStartItem,
#appReview .contactEndItem,
#appReview .assetStartItem,
#appReview .assetEndItem,
#appReview .attachmentStartItem,
#appReview .attachmentEndItem {
    display: block;
    padding: 0;
}
#appReview .caption,
#portalConfig .caption,
#uploadDiv .caption {
    color: #717378;
    display: block;
}
#appReview .field,
#portalConfig .field,
#uploadDiv .field {
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
}
#appReview .section,
#portalConfig .section {
    background: #e8e8e8;
    border: 2px solid #d8d8d8;
    border-radius: 7px;
    padding: 5px 10px 10px;
    margin-top: 20px;
    position: relative;
}


#regionalPrivacyPolicyDivText {
    white-space: pre-line;
    word-wrap: break-word;
    width: 100%;
    max-height: 5em;
    overflow: auto;
    font-size: x-small;
    text-align: left;
    padding: 0 0 0 1em;
}


#regionalPrivacyPolicyDivLink {
    width: 100%;
    font-size: x-small;
    /*text-align: right;*/
    max-height: 5em;
    padding: 0 0 0 1em;
}




#appReview #contactsSection .caption,
#appReview #equipmentSection .caption {
    display: inline-block;
}
#appReview #checklistItemSection li {
    width: 900px;
}

#appReview #checklistItemSection .gridHeader {
    display: block;
    color: #717378;
}

#appReview #checklistItemSection .gridRow .nameCol {
    width: 225px;
    display: inline-block;
    vertical-align: top;
}

#appReview #checklistItemSection .gridRow .statusIconCol {
    width: 20px;
    padding-right: 15px;
    display: inline-block;
    vertical-align: top;
}

    #appReview #checklistItemSection .gridRow .statusIconCol img {
        margin-top: 2px;
    }

#appReview #checklistItemSection .gridRow .detailsCol {
    width: 625px;
    display: inline-block;
    vertical-align: top;
}
#appReview #equipmentSection input[type=text],
#appReview #contactsSection input[type=text],
#appReview #contactsSection input[type=tel],
#appReview #contactsSection input[type=email],
#appReview #contactsSection ul.radioListInput,
#appReview #contactsSection select {
    display: none;
}

#appReview #saveAssets,
#appReview #saveContacts,
#appReview #cancelContactsUpdate {
    display: none;
}

/*regular text inputs are covered by general rules*/
#appReview input[type=tel],
#appReview input[type=email],
#appReview select {
    height: 20px;
    padding: 4px 10px;
    border: 1px solid #d4d2d2;
    color: #999;
    box-shadow: inset 0 0 7px 0 #cecece;
    background: #fff;
    border-radius: 5px;
    font-size: 15px;
}

#appReview select {
    height: 30px;
}

#appReview .radioListInput {
    margin-top: 0px;
    border-top: 0px;
    padding: 0px;
}
    #appReview .radioListInput li {
        width:auto;
    }
#appReview #contactsSection select.yearsDropDown {
    width: 100px;
    padding-right: 2px;
    padding-left: 5px;
}
#appReview #contactsSection select.monthsDropDown {
    width: 110px;
    padding-right: 2px;
    padding-left: 5px;
}

    #withdrawDiv {
    display: none;
}

#uploadDiv ul {
    margin: 0 10px;
    padding: 0;
    word-spacing: 15px;
}
#uploadDiv ul.substep {
    margin: 0;
}
#uploadDiv li {
    list-style-type: none;
    word-spacing: normal;
    display: inline-block;
}
#uploadDiv ul.substep li {
    vertical-align: top;
    width: 225px;
    margin: 10px 0 0 0;
}
#uploadDiv li.messageItem {
    display: block;
}
#uploadDiv input[type=text],
#uploadDiv select {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    padding: 4px 10px;
    border: 1px solid #d4d2d2;
    color: #999;
    box-shadow: inset 0 0 7px 0 #cecece;
    background: #fff;
    border-radius: 5px;
    font-size: 15px;
}
#uploadDiv .fileWrap {
    position: relative;
}
#uploadDiv .fileWrap input[type=file] {
    width: 100%;
    height: 30px;
    position: relative;
    text-align: right;
    -moz-opacity: 0;
    filter: alpha(opacity:0);
    opacity: 0;
    z-index: 2;
}
#uploadDiv .fileFake {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}
#uploadDiv .buttonSection {
    margin-top: 20px;
    text-align: center;
}

/* Portal Configuration */
#portalConfig input[type=text] {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 28px;
    width: 100%;
}
#portalConfig #contactSection:before {
    content: "Contact Information";
}
#portalConfig .buttonSection {
    text-align: center;
}

/* LP Application Form and Quick Form */
.appform,
.quoteform {
    width: 885px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 20px;
    border: 1px solid #e1e1e1;
    background-image: linear-gradient(to top, #e3e3e3, #efefef 3px, #fff 47px);
    box-shadow: 0 10px 10px -7px #666;
    position: relative;
}
.appform {
    margin-top: 100px;
}
.appform.consumerform,
.appform.referralform,
.page .quoteform {
    margin-top: 20px;
}
.quoteform h3.appHeadingNoPageHeader {
    width: auto;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    text-align: center;
}
.quoteform .appHeading,
.appform .appHeading {
    font-weight: bold;
    text-align: center;
}
.appform .appBlurb {
    text-align: center;
    margin: 0 10px;
    padding: 10px 0;
    white-space: pre-line;
}

.quoteform textarea {
    border: 1px solid #d4d2d2;
    border-radius: 5px;
    box-shadow: inset 0 0 7px 0 #cecece;
    background: #fff;
    color: #999;
    font: 15px Open Sans;
    width: 821px;
    height: 60px;
    overflow: auto;
    padding: 4px 10px;
}

.appform ul,
.quoteform ul {
    margin: 0;
    padding: 0;
}
.appform ul.navTop {
    word-spacing: 11px;
    padding: 0 0 10px;
}
.appform .applyForCaption {
    position: absolute;
    top: -90px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}
.appform ul.applyFor {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    text-align: center;
    word-spacing: 40px;
}
.appform .selectFor {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    vertical-align: middle;
    font-size: 22px ;
    color: #2e55a4 ;
    border: 2px solid #2e55a4 ;
    height: 44px ;
    box-shadow: none ;
    text-align: center ;
    margin-left: auto ;
    margin-right: auto ;
}

.appform .applyFor label {
    vertical-align: middle;
    font-size: 22px;
}
.appform .applyFor label:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 5px 5px -20px;
    background: #fff;
    border: 2px solid;
    border-radius: 4px;
    text-align: center;
    font-size: 36px;
    line-height: 14px;
    vertical-align: middle;
}
.appform .applyFor input[type=radio]:checked + label:before {
    content: "\2022";
}
.appform .navLink {
    display: inline-block;
    width: 280px;
    cursor: pointer;
    font-size: 18px;
    color: #717378;
}
.appform .navLink:before {
    content: "\f054";
    font-family: FontAwesome;
    padding-right: 8px;
}
.appform ul.step,
.quoteform ul.step {
    word-spacing: 40px;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}
.appform ul.substep,
.quoteform ul.substep {
    word-spacing: 40px;
    padding: 0;
}
.appform li,
.quoteform li {
    list-style-type: none;
    display: inline-block;
    padding: 5px 0;
    word-spacing: normal;
    vertical-align: top;
}
.appform li:not(.errorHighlight),
.quoteform li:not(.errorHighlight),
#uploadDiv li:not(.errorHighlight) {
    background-color: transparent;
    box-shadow: 0 0 0 5px transparent;
    -moz-transition: background-color 1s, box-shadow 1s;
    -o-transition: background-color 1s, box-shadow 1s;
    -webkit-transition: background-color 1s, box-shadow 1s;
    transition: background-color 1s, box-shadow 1s;
}
.appform li.errorHighlight,
.quoteform li.errorHighlight,
#uploadDiv li.errorHighlight {
    background-color: #f00;
    box-shadow: 0 0 0 5px #f00;
}
.appform li.stepTitle {
    display: none;
    text-align: center;
}
.appform li.stepTitle h1 {
    font-size: 20px;
    font-weight: bold;
}
.appform li.contactItem {
    display: block;
}
#companyInfoStep::after,
#customerInfoStep .substep::after,
#vendorInfoStep::after,
#equipInfoStep::after,
#accountInfoStep::after,
#contactInfoStep .substep::after,
#addlInfoStep::after,
#confirmStep .substep::after {
    content: "";
    display: inline-block;
    height: 40px;
    width: 1px;
    background: transparent;
}
#changeBike{
    float:right;
    display:none;
}
.appform .caption,
.quoteform .caption {
    color: #717378;
    font-size: 18px;
    padding: 0 8px;
}
.appform input[type=text],
.appform input[type=tel],
.appform input[type=email],
.appform input[type=url],
.appform input[type=file],
.appform select,
.quoteform input[type=text],
.quoteform input[type=tel],
.quoteform input[type=email],
.quoteform input[type=url],
.quoteform input[type=file],
.quoteform select {
    border: 1px solid #d4d2d2;
    border-radius: 5px;
    box-shadow: inset 0 0 7px 0 #cecece;
    background: #fff;
    color: #999;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
}
.appform input[type=text].readonly,
.appform input[type=tel].readonly,
.appform input[type=email].readonly,
.appform input[type=url].readonly,
.appform select.readonly,
.quoteform input[type=text].readonly,
.quoteform input[type=tel].readonly,
.quoteform input[type=email].readonly,
.quoteform input[type=url].readonly,
.quoteform select.readonly {
    background: #eee;
}
.appform input[type=text],
.appform input[type=tel],
.appform input[type=email],
.appform input[type=url],
.appform input[type=file],
.quoteform input[type=text],
.quoteform input[type=tel],
.quoteform input[type=email],
.quoteform input[type=url],
.quoteform input[type=file] {
    height: 19px;
    width: 230px;
    padding: 4px 10px;
}
.select2,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: none !important;
}
.select2-selection__rendered {
    border: 1px solid #d4d2d2;
    border-radius: 5px;
    box-shadow: inset 0 0 7px 0 #cecece;
    background: #fff;
}
.select2, .select2-selection__rendered, .select2-search, .select2-results__option {
    background: #fff;
}
.existingPrItem, .existingItem {
    min-width: 250px;
}
.searchDropdownAddress {
    font-size: smaller;
}
.appform select,
.quoteform select
{
    height: 31px;
    width: 252px;
    padding: 4px 8px;
}
.appform input[type=text].splitLarge,
.appform input[type=tel].splitLarge,
.appform input[type=email].splitLarge,
.appform input[type=url].splitLarge,
.quoteform input[type=text].splitLarge,
.quoteform input[type=tel].splitLarge,
.quoteform input[type=email].splitLarge,
.quoteform input[type=url].splitLarge {
    width: 154px;
}
.appform input[type=text].splitSmall,
.appform input[type=tel].splitSmall,
.appform input[type=email].splitSmall,
.appform input[type=url].splitSmall,
.quoteform input[type=text].splitSmall,
.quoteform input[type=tel].splitSmall,
.quoteform input[type=email].splitSmall,
.quoteform input[type=url].splitSmall {
    width: 50px;
}
.quoteform input[type=text].doubleWide,
.quoteform input[type=tel].doubleWide,
.quoteform input[type=email].doubleWide,
.quoteform input[type=url].doubleWide {
    width: 526px;
}
.appform input[type=text].fullWidth,
.appform input[type=tel].fullWidth,
.appform input[type=email].fullWidth,
.appform input[type=url].fullWidth {
    width: 821px;
}
.appform .fileWrap,
.quoteform .fileWrap{
    position: relative;
}
.appform .fileWrap input[type=file],
.quoteform .fileWrap input[type=file] {
    position: relative;
    text-align: right;
    -moz-opacity: 0;
    filter: alpha(opacity:0);
    opacity: 0;
    z-index: 2;
}
.appform .fileFake,
.quoteform .fileFake {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.appform .right,
.quoteform .right {
    float: right;
}
.appform h4 {
    padding: 0;
    margin: 0;
    font-weight: normal;
    font-size: 20px;
    display: inline;
}
.appform #attachmentItem,
.quoteform #attachmentItem {
    display: block;
}
    .quoteform #attachmentItem h4 {
        padding: 0;
        margin: 0;
        font-weight: normal;
        font-size: 20px;
        display: inline;
    }
    .quoteform #attachmentItem #maxSizeMessage {
        display: block;
        list-style-type: none;
        word-spacing: normal;
    }
.appform .contactButton,
.appform .attachmentButton,
.quoteform .attachmentButton{
    background: #ddd;
    border: 1px solid #999;
    border-radius: 0;
    color: #999;
    text-shadow: none;
    padding: 3px 10px;
    margin-left: 10px;
    margin-bottom: 0;
    height: auto;
}

.appform.scanButton {
    background: #ddd;
    border: 1px solid #999;
    border-radius: 0;
    color: #999;
    text-shadow: none;
    padding: 3px 10px;
    margin-left: 10px;
    margin-bottom: 0;
    height: auto;
}

.appform .navBottom {
    margin-top: -35px;
    position: relative;
    z-index: 2;
}
.appform .navButton {
    margin-left: 10px;
}
.quoteform input[type=submit] {
    margin-left: 150px;
}
.appform .repInfo,
.quoteform .repInfo {
    position: absolute;
    margin-top: 60px;
    left: 20px;
    text-align: left;
    font-size: 16px;
}
.contactInfoOverride {
    white-space: pre-wrap;
}
body.masterEmpty.afgApp.embed .repInfo {
    display: none;
}
.appform .acctContactInfo,
.quoteform .acctContactInfo {
    position: absolute;
    margin-top: 60px;
    right: 20px;
    text-align: left;
    font-size: 16px;
}
body.masterEmpty.afgApp.embed .acctContactInfo {
    display: none;
}
.appform .repLabel,
.quoteform .repLabel {
    display: block;
}
.appform .repCaption,
.quoteform .repCaption {
    font-weight: bold;
}
.appform .pdfLink a {
    position: absolute;
    bottom: -35px;
    right: 20px;
    font-size: 16px;
    line-height: 30px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAeCAYAAADQBxWhAAAGOklEQVR4XqWVXYxVVxXHf2vvcz/m4zJD54MgHVOBxgckpgWnjYCJIlZepBA/Clpi64vxxQdj34xp+qC86YONPhlImjRAcAgGNdVoQg1qjTo1Ux9gGAYGkc7AzDB37sc5e+/lmR1ObhpnJpP4v/ln7XPP3ud/1n+ts7ewCi5durTNe79HchhjlA0ihBDnO+fePXr06E3WQMIqSJ0eOfC5gz8xSlu10JT1BVG8d9JefCgzN29fOz829u0vPv/8b1kFsutDu0Y+PTDyrHfLRhAN9UZr9OjhFz575PBxCQCKqGI0gAgC8TpChBgQ0EBWKtO1+0kW64vcmr41t7i4+OKRI0d+/T+iJ7Y/9cqXQ+NUyJYoK1gv2PlFNDhKPicWMdAFiE9JJCFBkaSMeI9BMQgmeJZNhaU332Tk4LPM37mL9/7e1NTUS8eOHfsVHZCIdyUbMigeUG8y9PmD9O3eTePPf6E9McHw8eMkWYvlK1dw1ycZPHmScH+Oxi8vw3IdQbAo7aCkjQbWWLq7uxkZGdkSQjh98eLFk52MwaiREOVEchqc8/TtO0Bz9n0GvnaCnmeeIRkcZPF3v2fzN79FdXSU0p49tCanCFkGGBCLAorF2iSnZXZ2lrm5OXp6eoZqvbUzFy5cOEwhSiyVUkBV0Syjf+9elq68TTY/j5t/QP29CUK9jt08gKlUKT3xBIigKAUE8BrordUwxnD79m0ajQa1Wm0o58/HxsY+dfbs2d6ECEVQQEAEEsv9t97iwblzDHzyANUdOxk68VXC0kPSmzdwN6epj/0C40J8OCpEoITgqSKM5o4AOOdotVosLCxsGR8f/1LIkVSklHQHCKKUQs7uLhbPnKZ9999xcfaPcR5WK1RCysLFMRLvaOXWl53DADYA+Dgu4QmZI0C0PjqhSqlUore3dyW2m81mlkxn7am/VzbdDiahpKhI0J4Hzf7BbU/22cct4hwzk3cpk2G27sQawWRt+OhTCGAAUTDqqSddlAY2oyjBBxAiRCQKG2NcHr0AJejaAqEMbQUar3z/te+8/NLXvxtCAEAFUBAERVEFUECKPgAUgC39m6j1dFOsFenMuXr16g/q9fq5BMigOUMH7Bt9em7n41sx1lJA+SB0jf99CHjvwRg0y6K4iMSYc+1tsGyMzb2PliiAKppfa5E5UsihKKiAFA7EiFhLUq3ivEdFCsG1RZ1ziEikWgsLC5B/s8nNKbSrilNIFbI0JQuBtFQihTjOFDLnedDfz8CPfsyuPU/j2u31RVnFRvUeuXYNXdkQKhavSkgDfucOXH8f2V//RluIwm0FD9w1hsXJ63zsE3sLwfVFi8IXxAitPMNQMWh3dxRNfZ3k4CH0/izpu+P4xOIweBTvHIiNPRHXQ4wFzBrnYpwUY86gSiOPyz4yH0NDoT1/Hzc0RCvztFRoq+b0OSEDRIpuj1w/U2ttKCYKEBAaKmQBJAQ84AB3a5reffupi6D6qJ4ieDSOo5Bu8BCXYjMuLEZpaCAN0QZUoBWgNjhMsm0b4SPbWZqcJMijDIG0ZKND2uEGa0oxjnbSBEQDPvUwOAgfHmHi1VfZ+vI3aF8co3HvXrS0fWeGVAMiAETxjTdSrKkSa6oaRfGBlgtse+452ipkPb3MT0+z9SsvYDb3s5B37PuXL9MaH0dDxy02mmm0RwOKsqywBOChb/9+7PbtTL7xBun8PDN/uooXoXvHDkpDg3GtL1cJwReCG/pO4yQjAlEYljVQB3bmVm76+G4mXn+dhRs3sAZCIgSF+vXrhJwGaJbLYExRy43Z29nSeSSqLCcJbWP45+kz/Oe9f2GNQaWomaAr4sQOJ6WwtPMJSo48moQNIATPvFuh4+2f/ZQAWOKNTrOhH3jRpvOkWVoIRnrvjeRI1tscIp0jqVSoHTrEnXfeIalWQCGDwof4EwFVAQEJHiOG3k19BO/pgBVhWbemIkLIMoy1fOHUKT6zvIwgqAY6mhCKa6VTQ1W6bUKr0UA6p4ysmSmQlMtlkiTB+9iB1Kyl77HHis5eLf7P2DlXvHxR01IejbAKzp8//+Lw8PAPrbVp5yGsJ1BgrXvinKsuLS29JiK/WSvTP87MzHzvUbcp/ydU1TSbzaSrq+sP3vu7/wVtXvgSqRssngAAAABJRU5ErkJggg==') no-repeat;
    padding-left: 35px;
}
.appform .pdfLink a.hasAcctContact {
    bottom: 10px;
    right: 20px;
}
body.masterEmpty.afgApp.embed .pdfLink a {
    display: none;
}
#spinnerItem {
    width: 100%;
    font-size: 18px;
    color: #717378;
    text-align: center;
    padding-top: 110px;
}
li.checkboxItem {
    display: block;
    font-size: 16px;
}
.checkboxItem input,
.checkboxItem span {
    vertical-align: middle;
}
.checkboxItem label:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 5px 0 -24px;
    background: #fff;
    border: 2px solid;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    line-height: 16px;
    vertical-align: middle;
}
.checkboxItem input:checked + label:after {
    content: "\2713";
}
.checkboxItem a {
    cursor: pointer;
}
#creditReleaseText {
    white-space: pre-wrap;
}
body.masterStandard.afgApp .main,
body.masterStandard.afgLanding .main,
body.masterStandard.referralApp .main {
    padding-bottom: 200px;
}
.appform:after,
.quoteform:after {
    content: "Your information will be protected because your Internet connection to this website is SSL Secured (128-bit).";
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAAAZCAMAAAD9ngs+AAAAdVBMVEVcXFx4eHhoaGj///+UlJSHh4eqqqq6urrHx8fW1tbf4ubp6enx8fH5+fmdnZ3xilTrQwDuYyDueDv2w6j85dfi4uL41L/u8PL98ejz8/P2///wp4ExVZbq6ur7+/vsUAKPqsv39/dsjbjj6/LC0OIBNoPCwsJVa1KLAAADGklEQVR4XrWUh47jOAyGxaJe3NLLtN2793/EI7VjZAbBTrDYmz8xDUsCP/+kJdO+XaZd/vmkF/qf9SUiMAf6QtHrovAXiIjeYSQqRD2squtTsxKY/wRxefuZS72ZMD6nUhq0Qg1sjfovbFuWi5Jl0OwOGLLz5NxjxOVF3+10uk16NLZ6SOC9ZEkBa8CMnBonCM0Wq4gGpbG3FfxDxOUHUVmGeZ7PG+rKuUZ0DjyHXg1BRMwQyFod8uQ6wlFEAUB5hHg70Wk3P4/9N3eIx1jAiQuXHRSOAZPDjIGYsyssLmx3kZuVPO5RL9TDIsl/aZx22tYG2Gpl4Ky9KJVt48KBsoVWBcCa1jNDomjiI8RPol0nrIwDKaT2+DncPcmq1KA+QLwR1XmcnqdpnodhmJ7Hc6U/0PbfKz1AiIk4zrvNZqMvfphWG4HBuvs+xuZ+qX2x72L+iLgQ0Xkc1snNJLXaEBWL7BrgXZmdMQYRJbbfAXIzkWqKuSN6nU6DuFiG84oYd0Tckxe4+x4DAAgCLPrfIdiYTMk5/4546QjJOy4fEMn497IUCRY4K7CBjbWUJIxQYmvR26A3khCoerbWZQqIyD567z+4OI/vhLoiPBZaFbA5i4kKgmuKzoKIlIwBY7yTi4KWrRmUAcxW75BDWBGXQlSGadDdsCwdIe1uWImyF+WKQc0zOcVqSB0RDaJtVRBBES4jMgXnsweZ8LWWqog30Q9atTx3xHgmcoqIgGBCQhYBVnBaLIyUwSgCEZRp0HdEtQYtu9x7cfui6KbDIh3Z6CacNkTBpL6xsgkRm2vNeXpHhJsLS4JYXVBugtYnRpPuEcs86Qafh3kUK5qpkUoQua8vifrhmj666AjElhjFRU6p9AOaDd4j6DCMoyAk9CNKbbRUSwQTCSBRApahUDPY+tmFN6gyLgNCcMpqMuPKfaF2wySazwfq6o0AtLF/QBZt1poAQtYBc0MUiwY8GEde9yNyUX8G7xHqRM8Qumm/3R6p67q9kurY7/R0PO6f6Gm/P/an6/WJ9vtXoldZ14det1tZsCK+VYr4dv0H0wtUD/Fm7PUAAAAASUVORK5CYII=') no-repeat left;
    margin-top: 10px;
    margin-left: 25px;
    padding-left: 110px;
    display: block;
    line-height: 14px;
    font-size: 12px;
    width: 350px;
}

.helpIcon {
    display: inline-block;
    border: 1px solid #717378;
    border-radius: 5px;
    background: #f0f0f0;
    color: #717378;
    font-weight: bold;
    font-size: 14px;
    line-height: 14px;
    width: 14px;
    text-align: center;
    vertical-align: top;
    cursor: default;
}
.helpIcon:after {
    content: "?";
}

.appform .radioListInput {
    width: 252px;
}
.appform .radioListInput.twoColWidth {
    width: 400px;
}
.appform .radioListInput li {
    margin-left: 10px;
}
.appform .radioListInput label {
    vertical-align: middle;
    color: #717378;
    font-size: 15px;
}
.appform .radioListInput label:before {
    content: "";
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: 0 5px 5px -20px;
    background: #fff;
    border: 1px solid #d4d2d2;
    border-radius: 5px;
    box-shadow: inset 0 0 7px 0 #cecece;
    text-align: center;
    color: #999;
    font-size: 36px;
    line-height: 16px;
    vertical-align: middle;
}
.appform .radioListInput input[type=radio]:checked + label:before {
    content: "\2022";
}

.appform textarea {
    border: 1px solid #d4d2d2;
    border-radius: 5px;
    box-shadow: inset 0 0 7px 0 #cecece;
    background: #fff;
    color: #999;
    font: 15px Open Sans;
    width: 821px;
    height: 60px;
    overflow: auto;
    padding: 4px 10px;
}

.appform #submitMessageItem {
    display: block;
    white-space: pre-wrap;
    padding: 0;
}

.pika-button,
.pika-prev,
.pika-next {
    box-shadow: none;
    height: auto;
    min-width: 0;
    font-weight: normal;
    text-transform: none;
    text-shadow: none;
}

.main:before {
    content: url("../CRMFile.ashx?id=tf_pageheaderlogo&altBlank=true");
    display: block;
    text-align: center;
    font-size: 0;
}
.titleText:before {
    content: url("../CRMFile.ashx?id=Account.tf_portalheaderimage&altBlank=true");
    display: block;
}

.searchDropdownAddress{
    font-size: smaller;
}
.quoteform #commentsTextBox {
    width: 525px;
}

.calcform h2 {
    font-size: 20px;
    padding: 0;
    margin: 0;
}
.calcform .stepTitle {
    display: block;
}
.calcform .stepTitle h1 {
    font-size: 18px;
    font-weight: bold;
}
.calcform .navBottom {
    text-align: center;
}
.calcform input[type=submit] {
    margin: auto;
}
.calcform .blurb {
    margin: 20px;
}
.calcform .step {
    margin-bottom: 10px;
}
.calcform.results section {
    margin: 10px 0 20px 0;
}
.calcform .tableWrap {
    overflow-x: auto;
}
.calcform #resultsTable {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
}
.calcform #resultsTable th,
.calcform #resultsTable td {
    text-align: center;
    padding: 10px;
}
.calcform #resultsTable th {
    background: #f5f5f5;
    font-weight: 600;
    font-size: 13px;
    color: #444;
}
.calcform #resultsTable td {
    border: 1px solid #ccc;
}
.calcform #resultsTable .payment {
    margin-bottom: 5px;
}
.calcform #resultsTable .payment a {
    white-space: nowrap;
}
.calcform #resultsTable .breakdown {
    font-size: 12px;
    color: #999;
}
.calcform #section179Table {
    width: 100%;
    border-collapse: collapse;
}
.calcform #section179Table tr {
    border-bottom: 1px solid #ccc;
}
.calcform #section179Table td {
    text-align: right;
    padding: 10px;
}
.calcform #section179Table .description {
    margin: 0;
    display: block;
    font-size: 12px;
    color: #999;
}
.calcform #section179Table .bottomLine {
    font-weight: 600;
    border-bottom: none;
}
.formscanswitch,
.formscanswitchs {
    min-width: 283px;
    text-align: center;
}
.formscanswitchp {
    padding-left: 0em;
}
/* Styles for Small Resolutions */
@media screen and (max-width: 800px) {

    p {
        padding: 18px;
        margin: 0;
    }

    .formscanswitch,
    .formscanswitchs,
    .formscanswitchp {
        min-width: 283px;
        text-align: center;
    }
    .formscanswitchp {
        height: 31px;
    }
       
        /* Global */
    .page {
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .page div.main {
        padding: 0;
        margin: 0;
        width: 100%;
        flex: 1;
    }

    /* Header and Menu */
    .page div.menuWrap {
        width: 100%;
        height: 0;
        position: relative;
        font-size: 0;
    }
    div.menu#NavigationMenu {
        top: -50px;
        left: 0px;
        float: none !important;
        width: 100%;
        overflow: hidden;
        height: 280px; /* Smaller height than below to cut off horizontal scrollbar if showing */
        border: none;
        background: none;
        position: absolute;
        margin: 0;
        padding: 0;
    }
    div.menu > ul {
        white-space: nowrap;
        width: 100% !important;
        overflow-x: auto;
        height: 300px; /* Space for dropdowns, since can't both scroll horizontally and also overflow vertically */
    }
    div.menu > ul > li {
        float: none !important;
        display: inline-block;
    }
    .page .header {
        height: auto;
        margin: 0;
    }
    .header .title {
        width: 100%;
        height: auto;
    }
    .header .titleImage {
        margin-bottom: 5px;
    }
    .header .titleText,
    .header .titleText:before {
        margin-bottom: 0;
        margin-left: 0;
        position: relative;
    }
    .header .loginDisplay {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        margin: 0 5px 50px 0; /* Distance below the header to allow the menu */
    }
    .loginDisplay:empty {
        margin: 0; /* If empty, not logged in, so no need to add space for menu */
    }

    /* Footer */
    .footer {
        position: relative;
        bottom: auto;
        width: auto;
        height: auto;
        padding: 20px;
        margin-top: 120px;
    }
    .footer:before {
        white-space: pre-wrap;
    }

    /* Dashboard */
    .dashboard {
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    #body .dashboard .section {
        position: relative;
        width: 100%;
        height: auto;
        left: auto;
        top: auto;
        box-sizing: border-box;
        margin-bottom: 20px;
    }
    .dashboard .section ul {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }
    .dashboard .section .grid {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }
    .dashboard .section .grid > li {
        display: table-row;
    }
    .dashboard .section .grid > li > span {
        display: table-cell;
        float: none;
        padding: 0 4px 4px 4px;
    }

    /* General Page/Sections */
    #changePasswordContent,
    #newUserContent,
    #loginContent,
    #resetPasswordContent,
    #registerContent,
    #newsList,
    #newsItem,
    #termsOfUseSection,
    #privacyPolicySection {
        width: auto;
        margin: 10px 10px 0 10px;
    }

    /* User Account Forms */
    .accountInfo fieldset {
        padding: 5px 0 15px 0;
    }
    #body .accountInfo fieldset input {
        width: 100%;
        box-sizing: border-box;
        height: auto;
        font-size: 18px;
    }
    .accountInfo .failureNotification:after {
        content: " " attr(title);
    }
    .accountInfo input[type=button],
    .accountInfo input[type=submit] {
        margin-bottom: 5px;
    }

    /* News */
    .newsSection h4 {
        display: inline-block;
    }
    .newsSection .newsDate {
        position: relative;
        top: auto;
        right: auto;
        float: right;
    }
    .newsSection .newsBody {
        padding: 0 0 5px 10px;
    }
    .newsSection .newsLink {
        position: static;
        display: block;
    }

    /* Review Application*/
    #appReview {
        width: auto;
        margin: 10px 10px 0 10px;
    }
    #appReview ul {
        padding-right: 0px;
    }
    #appReview li {
        display: block;
        width: auto;
    }
    #uploadDiv {
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
    }

    #appReview #checklistItemSection .gridHeader {
        font-weight: bold;
    }

    #appReview #checklistItemSection li {
        width: auto
    }

    #appReview #checklistItemSection .gridRow .nameCol {
        color: #717378;
    }

    #appReview #checklistItemSection .gridRow .detailsCol {
        width: auto;
        display: block;
    }

    #appReview #checklistItemSection .gridRow .statusIconCol {
        width: 20px;
        display: inline-block;
    }

    /* Grids */
    #applicationsGrid,
    #leadsGrid,
    #usersGrid,
    #referralsGrid {
        width: auto;
        margin: 10px 10px 0 10px;
        text-align: center;
        clear: both;
    }
    #applicationsGrid h3,
    #leadsGrid h3,
    #usersGrid h3,
    #referralsGrid h3 {
        display: block;
        padding: 0;
        margin: 0;
    }
    #applicationsGrid .gridControls,
    #leadsGrid .gridControls,
    #usersGrid .gridControls,
    #referralsGrid .gridControls {
        float: none;
        margin: 10px;
    }
    #applicationsGrid ul,
    #leadsGrid ul,
    #usersGrid ul,
    #referralsGrid ul {
        display: inline-block;
        max-width: 100%;
    }
    #applicationsGrid .gridHeader,
    #leadsGrid .gridHeader,
    #usersGrid .gridHeader,
    #referralsGrid .gridHeader {
        display: none;
    }
    #applicationsGrid li:nth-child(2n+1),
    #leadsGrid li:nth-child(2n+1),
    #usersGrid li:nth-child(2n+1),
    #referralsGrid li:nth-child(2n+1) {
        background: #eee;
    }
    #applicationsGrid li span,
    #leadsGrid li span,
    #usersGrid li span,
    #referralsGrid li span {
        display: block;
        white-space: normal;
    }
    #applicationsGrid ul.grid li span,
    #leadsGrid ul.grid li span,
    #usersGrid ul.grid li span,
    #referralsGrid ul.grid li span {
        width: auto;
        text-align: left !important;
        font-size: 14px;
    }
    #applicationsGrid.section .grid li span:before,
    #leadsGrid.section .grid li span:before,
    #usersGrid.section .grid li span:before,
    #referralsGrid.section .grid li:not(.gridFooter) span:before {
        content: attr(data-caption) ":";
        position: absolute;
        font-weight: 600;
    }
    #referralsGrid.section .grid li.gridFooter span.footerCaption {
        position: absolute;
        font-weight: 600;
    }
    #applicationsGrid li span { margin-left: 200px; }
    #applicationsGrid li span:before { margin-left: -200px; }
    #leadsGrid li span { margin-left: 150px; }
    #leadsGrid li span:before { margin-left: -150px; }
    #usersGrid li span { margin-left: 150px; }
    #usersGrid li span:before { margin-left: -150px; }
    #referralsGrid li span:not(.footerCaption) { margin-left: 150px; }
    #referralsGrid li:not(.gridFooter) span:before { margin-left: -150px; }

    #applicationsGrid li span:empty:after,
    #leadsGrid li span:empty:after,
    #usersGrid li span:empty:after,
    #referralsGrid li span:empty:after {
        content: "\200b"; /* Inject blank character if empty to ensure element still takes normal line height */
    }

    /* Portal List */
    #portalsGrid {
        width: auto;
        margin: 10px 10px 0 10px;
    }
    #portalsGrid .grid {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }
    #portalsGrid .gridHeader span {
        text-align: left;
    }
    #portalsGrid .grid > li {
        display: table-row;
    }
    #portalsGrid .grid > li > span {
        display: table-cell;
        width: auto;
        padding: 3px;
    }

    /* Lead Summary */
    #leadSummaryGrid {
        width: auto;
        margin: 10px 10px 0 10px;
    }
    #leadSummaryGrid .grid {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }
    #leadSummaryGrid .grid > li {
        display: table-row;
    }
    #leadSummaryGrid .grid > li > span {
        display: table-cell;
        width: auto;
        padding: 3px 0;
    }

    /* Application Forms */
    body.masterStandard.afgApp .page .main,
    body.masterStandard.afgLanding .page .main,
    body.masterStandard.consumerApp .page .main,
    body.masterStandard.referralApp .page .main {
        padding-bottom: 0;
    }
    .main .appform,
    .main .quoteform {
        width: auto;
        padding: 12px 0;
        margin: 59px 10px 0 10px;
    }
    .quoteform #formStep li,
    .quoteform.calcform .step > li,
    .appform .step > li,
    .appform .substep > li {
        width: 100%;
        font-size: 0;
    }
    .appform .appBlurb {
        border-bottom: 1px solid #e1e1e1;
    }
    .appform input[type=text],
    .appform input[type=file],
    .appform input[type=tel],
    .appform input[type=email],
    .appform input[type=url],
    .appform select,
    .appform textarea,
    .quoteform input[type=text],
    .quoteform input[type=file],
    .quoteform input[type=tel],
    .quoteform input[type=email],
    .quoteform input[type=url],
    .quoteform select,
    .quoteform textarea {
        width: 100%;
        box-sizing: border-box;
        height: auto;
        font-size: 18px;
    }
    .appform .step > li.existingItem,
    .appform .substep > li.existingPrItem {
        font-size: 14px;
    }
    .appform .existingItem .select2,
    .appform .existingPrItem .select2 {
        width: 100% !important;
    }
    .appform input[type=text].splitLarge,
    .appform input[type=tel].splitLarge,
    .appform input[type=email].splitLarge,
    .appform input[type=url].splitLarge,
    .quoteform input[type=text].splitLarge,
    .quoteform input[type=tel].splitLarge,
    .quoteform input[type=email].splitLarge,
    .quoteform input[type=url].splitLarge {
        margin-right: 5px;
        width: calc(75% - 5px);
    }
    .appform input[type=text].splitSmall,
    .appform input[type=tel].splitSmall,
    .appform input[type=email].splitSmall,
    .appform input[type=url].splitSmall,
    .quoteform input[type=text].splitSmall,
    .quoteform input[type=tel].splitSmall,
    .quoteform input[type=email].splitSmall,
    .quoteform input[type=url].splitSmall {
        width: 25%;
    }
    .quoteform input[type=text].doubleWide,
    .quoteform input[type=tel].doubleWide,
    .quoteform input[type=email].doubleWide,
    .quoteform input[type=url].doubleWide,
    .appform input[type=text].fullWidth,
    .appform input[type=tel].fullWidth,
    .appform input[type=email].fullWidth,
    .appform input[type=url].fullWidth,
    .appform .radioListInput,
    .appform .radioListInput.twoColWidth {
        width: 100%;
    }
    .appform .radioListInput li {
        padding: 5px 0 0 0;
    }
    .appform .radioListInput input[type=radio] {
        display: none;
    }
    .appform .radioListInput label {
        margin-left: 19px;
    }
    .appform .radioListInput label:before {
        line-height: 18px;
    }
    .appform #commentsTextBox,
    .quoteform #commentsTextBox {
        width: 100%;
    }
    .appform #maxSizeMessage,
    .quoteform #maxSizeMessage {
        font-size: 14px;
    }
    .appform .fileFake,
    .quoteform .fileFake {
        right: 0;
    }
    .appform #attachmentMessageItem,
    .appform #submitMessageItem {
        font-size: 14px;
    }
    .appform #haveAttachmentsItem,
    .appform #confirmItem,
    .appform #creditReleaseItem {
        font-size: 16px;
    }
    .appform .navBottom {
        margin: 0;
        float: none;
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
    }
    .appform .navButton {
        margin: 10px;
    }
    .quoteform .step input[type=submit] {
        display: block;
        margin: 20px auto;
    }
    .appform .step .contactButton,
    .appform .step .attachmentButton,
    .quoteform .step .attachmentButton {
        font-size: 0;
        height: 40px;
        width: 40px;
        background: #fff;
        border: 2px solid currentColor;
        border-radius: 20px;
        box-sizing: border-box;
        margin: 5px 5px 0 5px;
        padding: 0;
        cursor: pointer;
        min-width: 0;
        letter-spacing: 0;
    }

    .appform .step .scanButton {
        font-size: 0;
        height: 40px;
        width: 40px;
        background: #fff;
        border: 2px solid currentColor;
        border-radius: 20px;
        box-sizing: border-box;
        margin: 5px 5px 0 5px;
        padding: 0;
        cursor: pointer;
        min-width: 0;
        letter-spacing: 0;
    }

    .appform .contactButton:before,
    .appform .attachmentButton:before,
    .quoteform .attachmentButton:before {
        font-size: 40px;
        line-height: 36px;
        color: currentColor;
        font-family: Arial;
    }

    .appform .scanButton:before {
        font-size: 30px;
        line-height: 36px;
        color: #999999;
        font-family: Arial;
        border: 2px solid;
        border-radius: 1em;
        padding: 3px;
    }

    .appform .addContact:before,
    .appform .addAttachment:before,
    .quoteform .addAttachment:before {
        content: "+";
    }

    .appform .addContact_scan:before {
        content: "ID";
    }

    .appform .removeContact:before,
    .appform .removeAttachment:before,
    .quoteform .removeAttachment:before {
        content: "−";
    }
    .appform #companyInfoStep:after,
    .appform #customerInfoStep .substep:after,
    .appform #vendorInfoStep:after,
    .appform #equipInfoStep:after,
    .appform #accountInfoStep:after,
    .appform #contactInfoStep .substep:after,
    .appform #addlInfoStep:after {
        display: none;
    }
    .appform #confirmStep li {
        font-size: 14px;
    }
    .appform .repInfo,
    .quoteform .repInfo,
    .appform .acctContactInfo,
    .quoteform .acctContactInfo {
        position: relative;
        margin: 10px;
        left: auto;
        right: auto;
    }
    .appform .pdfLink {
        text-align: center;
        display: block;
        margin: 10px;
    }
    .appform .pdfLink a,
    .appform .pdfLink a.hasAcctContact {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
    }
    .appform:after, .quoteform:after {
        width: auto;
        margin-left: 10px;
    }
    /* App Form Applying For */
    .appform #applyForCaption {
        display: block;
        position: relative;
        top: auto;
    }
    .appform #applyForRadioButtonList {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        word-spacing: normal;
        display: flex;
        padding: 0 0 5px 0;
        margin: 0 10px;
        border-bottom: 1px solid #e1e1e1;
    }
    .appform #applyForRadioButtonList li {
        flex: 1 0 0;
        margin: 5px 2.5px;
        padding: 0;
        display: block;
    }
    .appform #applyForRadioButtonList input {
        display: none;
    }
    .appform #applyForRadioButtonList label {
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        text-align: center;
        height: 100%;
        cursor: pointer;
        border: 1px solid #898989;
        border-radius: 5px;
        padding: 5px 10px;
        font-weight: bold;
        font-size: 0;
    }
    .appform #applyForRadioButtonList input:checked + label {
        background: currentColor;
        cursor: default;
    }
    .appform #applyForRadioButtonList input:checked + label:before {
        color: #fff;
    }
    .appform #applyForRadioButtonList label:before {
        width: auto;
        height: auto;
        margin: 0;
        background: none;
        display: block;
        border: none;
        border-radius: 0;
        color: inherit;
        line-height: normal;
        font-size: 16px;
    }
    .appform #applyForRadioButtonList input[value=leaseFinance] + label:before { content: "Lease/\200B Finance"; }
    .appform #applyForRadioButtonList input[value=workingCapital] + label:before { content: "Working Capital"; }
    .appform #applyForRadioButtonList input[value=both] + label:before { content: "Both"; }
    
    /* App Form Navigation Steps */
    .appform #navTop {
        display: flex;
        border-bottom: 1px solid #e1e1e1;
        padding: 0;
        margin: 0 10px 10px 10px;
        word-spacing: normal;
        position: relative;
        counter-reset: navCounter;
    }
    .appform #navTop li {
        flex: 1 0 0;
        display: block;
        text-align: center;
        padding: 5px 0;
        position: relative;
        counter-increment: navCounter;
    }
    .appform #navTop li:before {
        content: "";
        position: absolute;
        background: #717378;
        height: 3px;
        top: calc(50% - 1px);
        left: 0;
        right: 0;
    }
    .appform #navTop li:first-child:before {
        left: 50%;
    }
    .appform #navTop li:last-child:before {
        right: 50%;
    }
    .appform .navTop .navLink {
        font-size: 0;
        width: 50px;
        height: 50px;
        border-radius: 25px;
        border: 3px solid #717378;
        display: inline-block;
        vertical-align: middle;
        box-sizing: border-box;
        background: #fff;
        cursor: pointer;
        padding: 0;
        position: relative;
    }
    .appform .navLink:before {
        content: counter(navCounter);
        font-size: 36px;
        line-height: 44px;
        color: currentColor;
        font-family: "Open Sans", sans-serif;
        padding: 0;
    }
    .appform .navLink.active {
        cursor: default;
        background: currentColor;
    }
    .appform .navLink.active:before {
        color: #fff;
    }
    .appform li.stepTitle {
        display: block;
    }

    /* Quote Calculator Form */
    .calcform h2 {
        text-align: center;
    }
    .calcform.results section {
        margin-left: 10px;
        margin-right: 10px;
    }
}



