#cartHtml {
    display: flex;
}

.cartSearchContainer {
    display: flex;
    height: 100%;
    width: 100%;
}

/* SEARCH BAR STYLING */
.searchBar {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    margin-bottom: 8px;
}

#findInvoiceBtn {
    width: 50px;
    height: 50px;
    background: #005ff0 0% 0% no-repeat padding-box;
    border-radius: 8px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    opacity: 1;
    cursor: pointer;
}

#invoiceSearch {
    width: 100%;
    height: 3.5em;
    margin-bottom: 0;
    border-radius: 9px;
    flex-grow: 2;
}

.custom-cart-invoice-search-field {
    display: flex;
    flex-direction: row;
    border-radius: 9px;
    height: 3.5em;
    margin: 10px 0;
}

.custom-cart-invoice-search-button {
    margin-top: 10px;
}

.searchHeader {
    top: 338px;
    left: 125px;
    height: 100%;
    text-align: left;
    font: Bold 35px/64px Arial;
    color: #222222;
    opacity: 1;
    margin-top: 0;
    margin-bottom: 25px;
}

/* SEARCHED INVOICE RESULTS */
.searchedInvoiceTable table.table,
.searchedInvoiceTable .table caption,
.searchedInvoiceTable .table tbody,
.searchedInvoiceTable .table tfoot,
.searchedInvoiceTable .table thead,
.searchedInvoiceTable .table tr,
.searchedInvoiceTable .table th,
.searchedInvoiceTable .table td {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: none;
}

.searchedInvoiceTable table {
    border-collapse: collapse;
    border-spacing: 0;
}

.invoiceInfoBlock {
    top: 597px;
    width: 100%;
    min-height: 106px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #A3C6FF;
    border-radius: 6px;
    opacity: 1;
	 padding: 5px;
    padding-left: 25px;
    padding-right: 25px;
}

.invoiceInfo {
    height: 100%;
    display: flex;
}

.invNum {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0;
    font-style: italic;
}

.amtDue {
    letter-spacing: 0;
    font-size: 19px;
    font-style: normal;
}

.addCartBtnStyle {
    display: flex;
    align-self: stretch;
    align-items: center;
    margin-left: auto;
}

.addInvoiceToCartBtn {
    width: 110px;
    height: 45px;
    font-style: normal;
    font-size: 14px;
    background-color: #005ff0;
    cursor: pointer;
    margin-left: auto;
}

.addInvoiceToCartBtn:hover {
    background-color: #0C014B;
}

.cancelSearchDiv {
    display: flex;
    justify-content: flex-end;
}

.invoiceSearchHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invoiceRequireWarning {
    padding: 20px;
    border: solid 1px #B33A3A;
    border-radius: 5px;
    color: #B33A3A;
    font-weight: 700;
}

.invoiceWarningIcon {
    margin-right: 10px;
}

.backToSearchBtn {
    width: 130px;
    height: 45px;
    border-radius: 4px;
    margin-left: auto;
    margin-top: 35px;
    margin-bottom: 25px;

    font-style: normal;
    font-size: 14px;
    text-align: center;
    background-color: #0C014B;
    cursor: pointer;
}

.invoiceAmt {
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0;
}

/* RECENT PAYMENT SIDEBAR */
.paymentHistoryContainer {
    background-color: #ECECEC;
    display: flex;
    align-items: stretch;
    align-self: stretch;
    margin-left: auto;
    flex-direction: column;
    padding: 25px;
    height: 600px;
    border-radius: 9px;
}

.recentPayment {
    border-radius: 6px;
    border: 1px solid #bdbcbc;
    height: 50px;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
}

.paymentHistContHeader {
    margin: 0;
    margin-bottom: 20px;
}

/* CONTENTS OF CART SECTION */
.cartResultsSection {
    padding-left: 0;
    height: 100%;
}

.cartHeader {
    margin-left: 10px;
    margin-bottom: 30px;
    margin-top: 50px;
    height: 39px;
    padding-left: 0;
    padding-right: 0;
    font: Bold 35px/64px Arial;
    text-align: left;
}

.cartSection {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

@media screen and (max-width: 768) {
	.cartSection {
		width: auto;
	}
}

.paymentInfo {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.cartTotalBlock {
    width: 60%;
    height: 55px;
    background: #EAF2FF 0% 0% no-repeat padding-box;
    border-radius: 6px;
    opacity: 1;
    display: flex;
    margin-left: auto;
    color: #005ff0;
    justify-content: center;
	border: 1px solid #498dff;
}

.cartText {
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 25px;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartAmount {
    height: 100%;
    margin-left: auto;
    margin-right: 25px;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dspCart {
    display: flex;
    height: 100%;
}

.searchMessageRow {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.addedInvoices {
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 100%;
}

.cartInvoice {
    display: flex;
    width: 100%;
    top: 597px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #A3C6FF;
    border-radius: 6px;
    opacity: 1;
    padding-right: 25px;
    padding-left: 25px;
    justify-content: center;
    margin-bottom: 20px;
}

.removeBtnDiv {
    height: 100%;
    display: flex;
    margin-left: 70px;
    justify-content: flex-end;
    align-items: center;
}

.removeBtn {
    width: 40px;
    height: 40px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    background-color: #005ff0;
}

.removeBtn:hover {
    background-color: #c90c0c;
}

.invoiceDescrip {
    height: 100%;
    width: 400px;
    display: flex;
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    line-height: normal;

}

.paymentForm {
    display: flex;
    justify-content: flex-end;
}

#submitCart {
    width: 110px;
    height: 45px;
    margin-left: auto;
    font-style: normal;
    font-size: 14px;
    margin-right: 0;
    margin-top: 50px;
    background: #0be6b4 0% 0% no-repeat padding-box;
    border-radius: 4px;
    opacity: 1;
}

#submitCart:hover {
    background-color: #0C014B;
}

/* MEDIA (max-width: 991px) */
@media (max-width: 767px) {
    .amtDue {
        font-size: 16px;
    }
}

/* MEDIA (max-width: 767px) */
@media (max-width: 767px) {
    .searchHeader {
        font: Bold 28px/53px Arial;
        height: 30px;
    }

    .cartHeader {
        font: Bold 28px/53px Arial;
        height: 30px;
    }

    .cartInvoice {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cartText h4 {
        font-size: 15px;
    }

    .cartText {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
    }

    .cartAmount h4 {
        font-size: 15px;
    }

    .cartAmount {
        padding-left: 20px;
        padding-right: 20px;
        margin-right: 0;
    }

    .paymentHistoryContainer h3 {
        font-size: 22px;
    }

    .paymentHistoryContainer {
        padding: 20px;
    }

    .invoiceInfo {
        padding-left: 20px;
        padding-right: 20px;
    }

    .invoiceAmt {
        font-size: 18px;
    }

    .invoiceDetails {
        padding: 0;
    }

    .addInvoiceToCartBtn {
        margin: 0;
    }

    .backToSearchBtn {
        margin-top: 30px;
    }
}

/* MEDIA (max-width: 479px) */
@media (max-width: 479px) {
    .cartSearchContainer {
        flex-direction: column;
    }

    .paymentHistoryContainer {
        margin-top: 80px;
        height: 400px;
    }

    .cartResultsSection {
        padding-right: 0;
    }

    .invoiceDetails {
        padding-right: 15px;
    }

    .addedInvoices {
        padding: 0;
    }

    .amtDue {
        font-size: 16px;
    }
}

/* =====================================
CHECKOUT PAYMENT PAGE
=====================================*/
.invoiceListing {
    display: flex;
    width: 100%;
    top: 597px;
    height: 106px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #A3C6FF;
    border-radius: 6px;
    opacity: 1;
    padding-right: 25px;
    padding-left: 25px;
    justify-content: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    /* position: relative; */
    align-self: stretch;
    align-items: center;
    margin-right: 25px;
    cursor: pointer;
    font-size: 22px;
    line-height: 24px;
    height: 100%;
    width: 24px;
    clear: both;
}

/* .checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}*/

.checkbox-label .checkbox-custom {
    height: 24px;
    width: 24px;
    border: 4px solid #005ff0;
    border-radius: 4px;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
     border: 2px solid #FFFFFF;
}

.paidStatus {
    display: flex;
    margin-left: 70px;
    background-color: transparent;
    align-self: stretch;
    align-items: center;

}

.unpaidInv {
    color: #e40000;
    font: Bold Italic 20px/23px Arial;
    background-color: transparent;
}

.paidInv {
    color: #0be6b4;
    font: Bold Italic 20px/23px Arial;
    background-color: transparent;
}

.amtDue-container {
    display: flex;
    margin-left: auto;
    align-self: stretch;
    align-items: center;
    justify-content: flex-end;
}

.ownerInfo {
    font-size: 17px;
    font-weight: bold;
}

.headerRow {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    height: 100%;
}

.accountBalanceHeader {
    font: Bold 20px/50px Arial;
    letter-spacing: 0;
    opacity: 1;
    margin-top: 0;
    margin-bottom: 25px;
    margin-left: auto;
}

.due-date {
    font-size: 14px;
    letter-spacing: 0;
    font-style: italic;
}

.fullInvList {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 400px;
    padding: 15px;
    margin-top: 50px;
    margin-bottom: 50px;
    border: 1px solid #ECECEC;
    border-radius: 4px;
}

.viewInvLink {
    display: block;
    text-decoration: none;
}

#invoiceNumSearch {
    top: 448px;
    width: 100%;
    height: 50px;
    border: none;
    margin-bottom: 0;
    border-radius: 9px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex-grow: 2;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #A3C6FF;
    border-radius: 9px;
    margin-right: 10px;
}

#contactSearch {
    top: 448px;
    width: 100%;
    height: 50px;
    border: none;
    margin-bottom: 0;
    border-radius: 9px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex-grow: 2;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #A3C6FF;
    border-radius: 9px;
    margin-right: 10px;
}

.searchParamsBar {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#searchParamsBtn {
    width: 50px;
    height: 50px;
    background: #005ff0 0% 0% no-repeat padding-box;
    border-radius: 9px;
    opacity: 1;
    cursor: pointer;
}

.acctInfo {
    font-size: 14px;
    letter-spacing: 0;
    font-weight: normal;
}

.contactInfo {
    font-size: 17px;
    letter-spacing: 0;
    font-style: normal;
}

.addressInfo {
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0;
}

.organization-container {
    height: 100%;
    display: flex;
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    line-height: normal;
}

#submit-button{
    width: 150px;
    height: 45px;
    margin-left: 20px;
    font-style: normal;
    font-size: 14px;
    margin-right: 0;
    margin-top: 30px;
    background: #0be6b4 0% 0% no-repeat padding-box;
    border-radius: 4px;
    opacity: 1;
}

#submit-button:hover{
    background-color: #0C014B;
}

#payment-form {
    display: flex;
    flex-direction: column;
    margin-top: 70px;
}

.payment-form-btns {
    display: flex;
    flex-direction: row;
}

.backBtn {
    width: 130px;
    height: 45px;
    border-radius: 4px;
    margin-left: auto;
    margin-top: 30px;
    margin-bottom: 25px;
    border: 1px solid #005ff0;
    color: #005ff0;
    font-style: normal;
    font-size: 14px;
    text-align: center;
    background-color: transparent;
    cursor: pointer;
}

/* .cartReviewHeader {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    height: 100%;
} */

.acctBalanceCartReview {
    display: flex;
    font: Bold 20px/50px Arial;
    letter-spacing: 0;
    opacity: 1;
    margin-top: 0;
    margin-bottom: 25px;
    align-content: flex-end;
}

.cartReview {
    height: 100%;
    text-align: left;
    font: Bold 35px/64px Arial;
    letter-spacing: 0px;
    opacity: 1;
    margin-top: 0;
    margin-bottom: 15px;
}

/* .fullInvListCheckout {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 400px;
    padding: 15px;
    padding-left: 15px;
    margin-top: 50px;
    margin-bottom: 50px;
    border: 1px solid #ECECEC;
    border-radius: 4px;
} */

a.w-row.record-link{
    text-decoration: none;
}

a.w-row.record-link:visited{
    text-decoration: none;
    color:#333333;
}

a.w-row.record-link:visited{
    text-decoration: none;
    color:#333333;
}


a.w-row.record-link:link{
    text-decoration: none;
    color:#333333;
}

.record-item{
    vertical-align: middle;
}


.record-item div{
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-block;
    vertical-align: middle;

}

[v-cloak] > * { display:none; }

.record-link div{
    display: inline-block;
}

.record-item .record-left{
    width: 40%;
}

.record-item .record-left h4{
    margin-bottom: 2px;

}


.record-item .record-mid{
    width: 20%;
    text-align: end;
}

.record-item .record-right{
    width: 12%;
    text-align: end;
}

.record-item .record-right .red {
    color: #d02828;
    font-weight: bold;
    font-size: 18px;
    font-style: italic;
    position: relative;
    left: 15px;
}

.record-item .record-right .green {
    color: #168638;
    font-weight: bold;
    font-size: 18px;
}

.record-item .record-right .yellow {
    color: #797b00;
    font-weight: bold;
    font-size: 18px;
}

.record-item .record-right .grey {
    color: #727272;
    font-weight: bold;
    font-size: 18px;
}

.record-container{
    border: solid 1px #2d8cff;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
}

.record-container:hover{
    background-color: #e6f4fb;
    border: solid 1px #36a9e0;
}

.record-container div{
    display: inline-block;
}

.record-container .record-checkbox{
    width: 5%;
    text-align: center;
}

.record-container .record-item{
    width: 93%;

}

.record-checkbox input{
    width: 25px;
    height: 25px;
    position: relative;
    top: 6px;
}

#searchContents{
    padding-top: 30px;
}

#recordsViewPage .heading-17{
    padding-left:0px;

}


#recordsViewPage .pay-invoice{
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    z-index: 99999;
    margin-left: 60%;
}

#recordsViewPage .pay-invoice button{
    min-width: 200px;
    border-radius: 5px;
}

#recordsViewPage button:focus{
    border: none;
    outline: -webkit-focus-ring-color auto 0px;
}

#recordsViewPage button:hover{
    background-color: #2f70d4;
}

#cart .record-item{
    border-bottom: solid 1px #dcdcdc;
}

#cart.backdrop{
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.95);
    top: 0px;
    left: 0;
    bottom: 0px;
    z-index: 99999;
    overflow-y: hidden;
}

#cart .modal-window{
    position: fixed;
    width: 80%;
    height: 80%;
    background: white;
    left: 10%;
    top: 5%;
    border-radius: 10px;


}

#cart .modal-window .label {
    text-align: center;
    text-align: center;
    border-bottom: solid 1px #3333;
    padding: 10px;
}

#cart .modal-window .total{
    font-size: 20px;
    width: 100%;
    margin-right: 100px;
    padding: 10px;
    background-color: #d9f3ff;
    border-radius: 5px;
    margin-bottom: 20px;
}

#cart .modal-window .total .right{
    float: right;
}
#cart .content-wrapper{
    position: relative;
    min-height: 300px;
    max-height: 65%;
    margin-top: 18px;
    padding-left: 50px;
    padding-right: 50px;
    overflow-y: auto;
}

#cart #payment-actions{
    position: absolute;
    right: 50px;
    bottom: 15px;
    padding: 10px;
}

#invoiceCancel{
    background-color: #e73e3e;
   float: right;
}
#cart #invoiceCancel:hover{
    background-color: #b12626;
}

#cart .w-button{
    border-radius: 5px;
    min-width: 100px;
}
#cart .actions-panel{
    bottom: 5%;
}


@media (max-width: 767px) {

    #recordsViewPage .pay-invoice{
        margin-left: 0px;
        margin-bottom:50px;
        top:55px;

    }

    #recordsViewPage .pay-invoice button{
        width: 100%;

    }

    .record-item .record-right{
        width: 100%;
        text-align: end;
        margin-top: -157px;
    }
}

.payment-result-return-link {
  text-decoration: none;
  background-color:#005ff0; 
  padding: 12px 22px; 
  border-radius: 10px; 
  color:white;
}
