﻿
#payRA_view {
    overflow: auto;
}

#form_pane {
    width: 1210px;
    margin: 0 auto;
}

#payra_p {
    font-size: 18px;
    color: #4A4A4A
}

#payra_p span {
    font-weight: 600;
}

#select_all{
    float: right
}

#select_all button{
    border:none;
    background: var(--main-blue-color);
    color: white;
    font-weight: 500;
    width: 110px;
    height: 30px;
    border-radius: 4px;
}

#select_all button:hover {
    background: var(--secondary-black-color);
}

#select_all button:active {
    background: var(--secondary-black-color);
}

#invoices_table_wrapper {
    margin: 70px 0 0 0;
}

#invoice_container {
    max-height: 670px;
    overflow-y: auto;
}

.invoice_item_row_header div {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    color: #4A4A4A;
}

#invoice_header_line {
    border-bottom: 1px solid #979797;
    margin: 15.5px 0 0 0;
}
#ih_1 {width: 147px;}
#ih_2 {width: 198px;}
#ih_3 {width: 365px;}
#ih_4 {width: 256px;}
#ih_5 {width: 140px;}

#invoice_header_1 {width: 120px; margin: 0 32px 0 0;}
#invoice_header_2 {width: 125px; margin: 0 76.6px 0 0;}
#invoice_header_3 {width: 125px; margin: 0 245px 0 0;}
#invoice_header_4 {width: 125px; margin: 0 132.4px 0 0;}
#invoice_header_5 {width: 125px; margin: 0 20px 0 0;}
#invoice_header_6 {width: 0; margin: 0;}

#invoice_message {
    text-align: center;
}

.invoice_item_row_container div {
    display: inline-block;
    font-size: 15px;
    margin-top: 40.4px;
    margin-bottom: 43.2px;
}

.invoice_item_row_container:hover{
    cursor: pointer;
}

#invoice_line {
    border-bottom: 1px solid #979797;
}

#invoice_after_line {
    border-bottom: 1px solid #979797;
    margin: 43.2px 0 0 0;
}

.invoiceDate {
    color: #52575A;
    width: 74.3px;
    margin: 0 127.3px 0 0;
}

.invoiceNum {
    color: #52575A;
    width: 86.3px;
    margin: 0 65.7px 0 0;
}

.invoiceEntity {
    color: #52575A;
    width: 256px;
    margin: 0 114px 0 0;
}

.invoiceProduct {
    color: #52575A;
    width: 217px;
    margin: 0 45.4px 0 0;
}

.invoiceOutstanding {
    color: #52575A;
    width: 60.8px;
    margin: 0 41.2px 0 0;
}

.invoiceAction {
    color: #52575A;
    left: 40px;
    margin-top: 0;
    margin-bottom: 15px;
}

#contact_headers_p {
    margin: 0 0 20px 0;
}

#biling_headers_p {
    margin: 30px 0 20px 0;
}

#checkbox_container {
    margin: 20px 0 0 8px;
    font-size: 20px;
    font-family: 'Roboto Condensed';
    color: #4a4a4a;
}

#checkbox_container span{
    width: 20px;
    height: 20px;
}

#checkbox_container span:after{
    width: 5px;
    height: 12px;
    margin-left: 1.3px
}

#checkbox_container label:hover{
    cursor: pointer;
}

#contact_editable_wrapper{
    width: 831px
}

#contact_p2 {
    width: 1090px;
    font-size: 18px;
    color: #4A4A4A;
    line-height: 22px;
    margin: 20px 0 0 0;
}

#contact_p2 span {
    font-weight: 600;
}

#contact_error {
    height: 47.9px;
    display: flex;
    align-items: center;
}

#contact_error p{
    display: inline-block;
    background: red;
    padding: 5px;
    border-radius: 4px;
    color: white;
}

#contact_first_name_label2, #contact_email_label2, #contact_address1_label2 {
    display: inline-block;
    margin: 0 262.4px 0 0;
    width: 230px;
}

#contact_first_name_control, #contact_last_name_control, #contact_email_control, #contact_phone_control, #contact_address_control, #contact_address_line2_control {
    width: 341px;
    height: 34px;
    margin: 7.5px 152.4px 0 0;
}

#contact_city_control {
    width: 341px;
    height: 34px;
    margin: 7.5px 52.2px 0 0;
}

#contact_state_control_select {
    padding-right: 27px;
    width: 262px;
    height: 34px;
    margin: 7.5px 32px 0 0;
}

#contact_state_control {
    width: 259px;
    height: 34px;
    margin: 7.5px 51.8px 0 0;
}

#contact_city_label2 {
    width: 94.1px;
    height: 24px;
    margin: 7.5px 297.7px 0 0;
}

#contact_select_label2 {
    width: 63.4px;
    height: 24px;
    margin: 7.5px 247.4px 0 0;
}

#contact_postal_control {
    width: 123.5px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#contact_country_label2 {
    width: 94.1px;
    height: 24px;
    margin: 7.5px 297.7px 0 0;
}

#contact_country_control {
    padding-right: 28px;
    width: 831px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

/*#contact_country_control span:after {
    position: absolute;
    display: block;
    content: '';
    width: 40px;
    height: 40px;
    background: red;
    border: 10px solid green;
}*/

/* The container */
.container {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 17px;
    width: 17px;
    background-color: white;
    border: 2px solid #D8D8D8;
    border-radius: 2px;
    cursor: pointer;
}

/* On mouse-over, add a grey background color */
label:hover input ~ .checkmark {
    background-color: var(--third-gray-color);
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: var(--main-blue-color);
    border: 2px solid var(--main-blue-color);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 5px;
    top: 0;
    width: 4.3px;
    height: 9.6px;
    border: 1px solid white;
    border-width: 0 3px 3px 0;
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#invoice_message {
    margin-top: 30px;
}

#invoice_total_line {
    border-bottom: 1px solid #979797;
}

#cancel_payment_btn {
    float: left;
    border: none;
    margin: 10px 0 10px 0;
    color: var(--main-blue-color);
    font-weight: 500;
    font-size: 15px;
    background: none;
}

#cancel_payment_btn:hover {
    color: var(--secondary-black-color);
}

#cancel_payment_btn:active {
    color: var(--secondary-black-color);
}

#invoice_balance_total_container{
    height: 50px;
}

#invoice_balance_total_right_container{
    float: right;
    width: 500px
}

#invoice_balance_total {
    margin: 14.2px 0 0 209px;
    font-size: 24px;
    text-align: left;
    color: #52575A;
    display: inline-block;
    height: 20px
}

#tooltiptext_div {
    display: none;
    background: white;
    color: var(--main-blue-color);
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2.5px solid var(--main-blue-color);
    border-radius: 6px;
    margin-top: 15px;
    margin-left: 25px;
    z-index: 1;
}

#invoice_balance_total:hover {
    cursor:help;
}

#invoice_balance_total:hover + #tooltiptext_div{
    display: inline-block;
}

#invoice_balance_total:after {
    content: '';
    display: none;
    position: relative;
    top: -12px;
    left: 62px;
    margin: 15px 0 0 0;
    width: 19px;
    height: 19px;
    background: white;
    border-top: 2.5px solid var(--main-blue-color);
    border-left: 2.5px solid var(--main-blue-color);
    transform: rotate(45deg);
    border-radius: 3px;
    border-top-left-radius: 20%;
    border-bottom-right-radius: 50%;
    z-index: 2
}

#invoice_balance_total:hover:after {
    display: block;
}

input[type="radio"]::-ms-clear{
    display:none;
}

input[type="radio"] {
    background-color: white;
    border: 1px solid #979797;
    cursor: pointer;
    display: inline-block;
    height: 16px;
    margin-right: 15px;
    position: relative;
    width: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-behavior: none;
    border-radius: 50%;
}

input[type="radio"]:after {
    border-radius: 25px;
    content: '';
    display: block;
    height: 6px;
    left: 3.5px;
    position: relative;
    top: 3.5px;
    width: 6px;
    border: none;
}

input[type="radio"]:checked:after {
    background-color: white;
    left: -1px;
    top: -1px;
    width: 6px;
    height: 6px;
    border: 6px solid var(--main-blue-color);
}

input[type="radio"]:hover {
    background: var(--color-brand-neutral);
}

/*#payment_section label {
    cursor: pointer;
}*/

.PayRA_headers_p {
/*    font-family: "Roboto";*/
    font-size: 36px;
    color: #000000;
    letter-spacing: 0;
    line-height: 48px;
    font-weight: 500;
}

#payment_section label {
    cursor: pointer;
}

#PayNow_message {
    width: 1120px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 50px;
}

#PayNow_message p {
    display: inline-block;
    padding: 5px;
    border-radius: 4px;
    color: white;
}

#tou_wrapper {
    float: right;
    margin: 0 90px 0 0;
}

#tou_wrapper label {
    display: inline-block;
    margin: 0 30px 0 0;
    font-size: 16px;
}

#tou_wrapper a {
    color: var(--main-blue-color);
    text-decoration: none;
}

#tou_wrapper span {
    top: 13px;
}

#btn_checkout {
    width: 235.7px;
    height: 45px;
    background: var(--main-blue-color);
    border: none;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 500;
    color: white;
    letter-spacing: -0.22px;
}

.btn_disable {
    background: #9B9B9B !important;
    cursor: not-allowed;
}

#btn_checkout:hover {
    background: var(--secondary-black-color);
}

#btn_checkout:active {
    background: var(--secondary-black-color);
}

#radio_container label {
    font-family: "Roboto Condensed";
    font-size: 18px;
    font-weight: 500;
    color: #4A4A4A;
    letter-spacing: 0;
    line-height: 22px;
}

.billing_radio_line {
    width: 830px;
    border-bottom: 1px solid #979797;
    margin: 21.2px 0 27.4px 0;
}

#pay_card {
    color: var(--main-blue-color);
}

#pay_check {
    color: var(--main-blue-color)!important;
}

#pay_wire {
    color: var(--main-blue-color)!important;
}

#pay_card, #pay_check, #pay_wire {
    /*color: #65B9FC;*/
    padding-right: 10px;
}

#Payment_Instructions_section{
    display: inline-block;
    margin-top: 40px;
}

#Payment_Instructions_section label{
    cursor: pointer;
}

#payment_options_p {
    margin-bottom: 20px;
}

#payment_wrapper2 div {
    text-align: center;
    color: #f00;
    font-weight: bold;
    margin: 0 0 15px 0;
    width: 830px
}

#payment_wrapper2 p {
    margin: 20px 0 20px 0;
    font-size: 14px;
    width: 820px
}

#payment_wrapper2 a {
    color: var(--main-blue-color);
    text-decoration: none;
}

#payment_wrapper2 ul {
    margin: 20px 0 20px 40px;
    font-size: 14px;
    width: 820px
}

#wire_container_again div {
    color: #f00;
    font-weight: bold;
    margin: 10px 0 15px 0;
    width: 830px;
}

#wire_container_again p {
    margin: 20px 0 20px 0;
    font-size: 14px;
    width: 820px
}

#wire_container_again a {
    color: var(--main-blue-color);
    text-decoration: none;
}

#wire_container_again ul {
    margin: 20px 0 20px 40px;
    font-size: 14px;
    width: 820px
}

/*Credit Card Styles...*/

#State_Zip_Country_row {
    margin: 0 0 56.8px 0;
}

#State_Zip_Country_row div{
    display: inline-block
}

#addCreditCard, #addCreditCard_2, #saveCreditCard {
    background: var(--main-blue-color);
    padding: 8px;
    border: none;
    color: white;
    border-radius: 5px;
    margin-left: 20px;
    margin-bottom: -5px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.13px;
}

#addCreditCard:hover, #addCreditCard_2:hover, #saveCreditCard:hover {
    background: var(--secondary-black-color);
}

#addCreditCard:active, #addCreditCard_2:active, #saveCreditCard:active {
    background: var(--secondary-black-color);
}

#addCreditCard i, #addCreditCard_2 #i2_card_2{
    padding-right: 5px;
}

#deleteCreditCard, #deleteCreditCard_2 {
    border: none;
    border-radius: 5px;
    background: red;
    padding: 8px;
    margin-left: 20px;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
}

#confirm_modal_card_container {
    padding: 20px;
}

#confirm_modal_card_container div {
    margin: 0 auto;
    width: 200px;
    padding: 20px 20px 0 20px;
}

#confirm_no_card_btn {
    float: right;
}

#confirm_modal_card_container button {
    padding: 10px 20px;
    color: white;
    background: var(--main-blue-color);
    border: none;
    border-radius: 2px;
    font-weight: 600;
    font-size: 16px;
}

#confirm_modal_card_container button:hover {
    background: var(--secondary-black-color);
}

#confirm_modal_card_container button:active {
    background: var(--secondary-black-color);
}

#confirm_modal_card_container button p {
    display: inline
}



#payment_new_card_wrapper{
    width: 800px;
}

#payment_new_card_wrapper .label_row_different {
    width: 410px;
}

#payment_new_card_wrapper .label_row_different div{
    float: right;
    padding-left: 10px
}

#card_icon_container{
    display: none;
    position: relative;
    top: -40px;
    left: 300px;
}

#card_icon_container img{
    width: 40px;
    height: 40px;
}

#3_amex {
    width: 50px;
    height: 50px;
}

#6_discover {
    width: 25px!important;
    height: 25px!important;
}

#5_mastercard {
    width: 50px;
    height: 50px;
}

#4_visa {
    margin-top: 20px!important;
    width: 50px;
    height: 50px;
}




#row_left_1 {
    display: block;
    /*width: 390px;*/
    margin: 0 0 56.8px 0;
}

#row_left_1 div {
    display: inline-block;
}


.row_left {
    display: block;
    /*width: 390px;*/
    margin: 0 0 56.8px 0;

}

    .row_left div{
        display: inline-block;
    }

/*    .row_left div:nth-of-type(2) {
        display: inline-block;
        background: red;
        width: 200px;
    }*/

/*#new_card_label, #card_num_label {
    width: 63.4px;
    height: 24px;
    margin: 7.5px 249.4px 0px 0px;
}*/

#is_same_contact_container {
    margin-bottom: 25px;
}

#is_same_contact_container input, #is_same_contact_container p {
    display: inline-block
}

#is_same_contact_container label{
    font-size: 20px;
    color: #4a4a4a;
}

#credit_card_info_row {
    display: flex;
    height: 100px;
}

#amex-logo{
    margin-left: -13px
}

#credit_card_info_row div {
    display: inline-block;
}

#credit_card_num_container {
    width: 341px;
    margin: 0 120px 36.8px 0;
}

#cvv_container{
    margin-left: 25px;
}

#card_first_label, #card_last_label, #new_card_label, #card_num_label, #card_state_label, #card_country_label {
    display: block;
    height: 24px;
    margin: 7.5px 0 0 0;
}

#card_expir_label {
    display: block;
    height: 24px;
    margin: 7.5px 0 0 0;
}

#card_cvv_label, #card_zip_label {
    height: 24px;
    margin: 7.5px 0 0 0;
    display: block;
}

#payment_card_control {
    padding-right: 35px;
    width: 321px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#payment_new_card_number_control {
    width: 290px;
    height: 34px;
    margin: 7.5px 0 0 0;
    padding-right: 50px
}

#payment_new_card_first_name_control {
    width: 341px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#payment_new_card_last_name_control {
    width: 341px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#payment_new_card_address_control {
    width: 441px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#payment_new_card_city_control {
    width: 341px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#payment_new_card_state_control {
    width: 262px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#billing_state {
    width: 262px;
    height: 34px;
    margin: 7.5px 23px 0 0;
}

#payment_new_card_postal_control {
    width: 172px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#payment_new_card_country_name_control {
    padding-right: 32px;
    width: 318px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#payment_new_card_country_name_control_container{
    margin-left: 15px;
}

#payment_new_card_expiration_month_control {
    width: 110.5px;
    height: 34px;
    margin: 7.5px 0 0 0;
}

#payment_new_card_expiration_year_control {
    width: 82px;
    height: 34px;
    margin: 7.5px 0 0 10px;
}

#payment_new_card_cvv_control {
    width: 107px;
    height: 34px;
    margin: 7px 0 0 0;
}



#incnow_address_p1 {
    width: 820px;
}

#incnow_address_p2 {
    margin-top: 15px;
}

.new_card_span:after {
    position: relative;
    right: 80px;
    display: inline-block;
    content: '';
    width: 15px;
    height: 15px;
    background: white;
    border-left: 4px solid #65B9FC;
    border-bottom: 4px solid #65B9FC;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 100%;
    transform: rotate(-45deg);
}



.month_year_span:after {
    position: relative;
    right: 28px;
    display: inline-block;
    content: '';
    width: 15px;
    height: 15px;
    background: white;
    border-left: 4px solid #65B9FC;
    border-bottom: 4px solid #65B9FC;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 100%;
    transform: rotate(-45deg);
}

#thank_you_pane {
    width: 1100px;
    margin: 0 auto;
}

#thank_heading {
    color: var(--main-blue-color);
    font-size: 40px;
    font-weight: 800;
    margin: 10px 0 0 0;
}

#thanks_message {
    line-height: 20px;
    margin: 20px 0 0 0;
}

#thanks_message p{

    margin: 20px 0 0 0;
}

#thanks_info {
    line-height: 20px;
    margin: 20px 0 0 0;
}

#thanks_help {
    margin: 20px 0 0 0;
}

#thanks_help a{
    text-decoration: none;
    color: var(--main-blue-color);
}

/* The Modal background */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #808080;
    background: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 4px;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    color: var(--secondary-black-color)
}

.modal-content i{
    font-size: 30px;
}

.modal_content_review {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    border-radius: 4px;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    color: var(--secondary-black-color);
}

.modal_header {
    font-size: 30px;
    min-width: 220px
}

#modal_content_container {
    margin-top: 15px
}

.modal-content div {
    /*display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:baseline;*/
    display: flex;
    align-items:center
}

.modal_loading div p {
    margin-left: 15px;
    font-size: 17px;
    min-width: 300px
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#error_modal_container {
    max-width: 600px
}

#error_modal_container p {
    display: inline-block;
}
#error_modal_container button {
    float: right;
    border: none;
    border-radius: 2px;
    padding: 5px;
    font-size: 20px;
    line-height: 10px;
    background: var(--main-blue-color);
    color: white;
}

#error_message {
    margin-top: 20px;
    width: 235px;
}

#error_modal_container button:hover {
    background: var(--secondary-black-color);
}

#error_modal_container button:active {
    background: var(--secondary-black-color);
}

#review_container {
    margin: 20px 0 0 0;
    background: #D8D8D8;
    padding: 15px;
    width: 700px
}
#review_btn_container{
    text-align: right;
}
#review_btn_container a {
    text-decoration: none;
    color: white;
    padding: 5px;
    border-radius: 4px;
    background: var(--secondary-black-color);
}

#review_btn_container a:hover {
    background: var(--secondary-black-color);
}

#review_btn_container a:active {
    background: var(--secondary-black-color);
}

#prepay {
    float: LEFT;
    margin: 30px 0 0 0;
}

#future_PayRA {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 0 0;
    width: 700px;
    background: #D8D8D8;
    padding: 15px;
}

#future_PayRA p{
    display: inline-block;
    line-height: 39px;
}

#future_PayRA a {
    text-decoration: none;
    color: white;
    padding: 10px;
    border-radius: 4px;
    background: var(--main-blue-color);
    font-size: 16px;
    font-weight: 500
}

#future_PayRA a:hover {
    background: var(--secondary-black-color);
}

#future_PayRA a:active {
    background: var(--secondary-black-color);
}

#iframe_review{
    width: 600px;
    min-height: 600px
}

#trust_review_btn {
    background: var(--main-blue-color);
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    font-weight: 500
}

#path1{
    fill: white
}

#trust_review_btn div{
    display: inline-block;
}

#trust_review_btn svg{
    display: inline-block;
    width: 20px;
    padding-left: 5px;
    padding-right: 2px
}

#trust_review_btn:hover #path1, #trust_review_btn:hover{
    background: #00b67a;
    color: white;
    fill: white;
}

.evaluatepage-heading span{
    background: red;
}

.modal_content_cancel {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 4px;
    width: 500px;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    color: var(--main-blue-color)
}

#cancel_modal_close {
    float: right;
    border: none;
    border-radius: 2px;
    padding: 5px;
    line-height: 13px;
    font-size: 25px;
    color: white;
    background: var(--main-blue-color);
}

#cancel_modal_close:hover {
    background: var(--secondary-black-color);
}

#cancel_modal_close:active {
    background: var(--secondary-black-color);
}

#cancel_top {
    width: inherit;
    display: inline-block;
}

#cancel_top p{
    float: left;
    width: 400px;
    display: block;
}

#cancel_invoice_container {
    margin: auto 0 10px 0;
    width: inherit;
    display: inline-block
}

#cancel_invoice_list_container {
    display: inline-block;
    margin: auto 0;
}

#cancel_header {
    margin: 20px 0 10px 0;
    display: inline-block
}

#cancel_header div {
    display: inline-block;
    margin-right: 30px
}

#cancel_row{
    display: block
}

#cancel_row div{
    display: inline-block;
    margin-right: 65px;
    width: 80px
}

#cancel_row button{
    border: none;
    border-radius: 3px;
    background: red;
    padding: 3px;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
}

#cancel_row button:hover {
    background: #9B9B9B;
}

#cancel_row button:active {
    background: #ED7804;
}

#confirm_modal_container{
    padding: 20px;
}

#confirm_modal_container div{
    margin: 0 auto;
    width: 200px;
    padding: 20px 20px 0 20px;
}

#confirm_no_btn {
    float: right;
}

#confirm_modal_container button {
    padding: 10px 20px;
    color: white;
    background: var(--main-blue-color);
    border: none;
    border-radius: 2px;
    font-weight: 600;
    font-size: 16px;
}

#confirm_modal_container button:hover {
    background: var(--secondary-black-color);
}

#confirm_modal_container button:active {
    background: var(--secondary-black-color);
}

#confirm_modal_container button p{
    display: inline
}

#payment_card_buttons_mobile {
    display: none;
}


@media only screen and (max-width: 400px) {
    #form_pane {
        width: 100%;
        margin-left:2px;
        margin-right:2px;
    }

    #select_all {
        margin-top: 30px
    }

    #invoices_table_wrapper {
        margin: 80px 0 0 0;
    }

    .invoice_item_row_header{
        display: none;
    }

    .invoice_item_row_container div {
        display: inline-block;
        font-size: 15px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .invoiceNum {
        width: 149.3px;
        margin: 10px 0;
        padding: 10px 0;
    }

    .invoiceDate {
        width: 115.3px;
        margin: 10px 0;
        padding: 10px 0;
    }

    .invoiceEntity {
        width: 140px;
        margin: 0;
        padding: 10px 0;
    }

    .invoiceProduct {
        width: 160px;
        margin: 0;
        padding: 10px 0 10px 10px;
        vertical-align: top;
    }

    .invoiceOutstanding {
        margin: 0 50.2px 0 0;
        padding: 10px 0;
    }

    .invoice_item_row_container{
        padding-left: 5px
    }

    #invoice_container {
        max-height: 330px;
        overflow-y: auto;
    }

    #invoice_balance_total_right_container {
        width: 300px;
        /*height: 50px;*/
    }

    #invoice_balance_total_container {
        margin-bottom: 20px
    }

    #invoice_balance_total {
        margin: 14.2px 0 0 109px;
        font-size: 24px;
        text-align: left;
        color: #52575A;
        display: inline-block;
        /*height: 50px;*/
        width: 190px;
    }

    #tooltiptext_div {
        font-size: 12px;
    }

    #contact_section{
        margin-top: 50px
    }

    #contact_editable_wrapper {
        width: inherit
    }

    #contact_p2 {
        width: inherit;
    }

    #contact_first_name_label2, #contact_email_label2, #contact_address1_label2 {
        display: inline-block;
        margin: 0;
        width: 230px;
    }

    #contact_first_name_control, #contact_last_name_control, #contact_email_control, #contact_phone_control, #contact_address_control, #contact_address_line2_control {
        width: inherit;
        margin: 7.5px 0 0 0;
    }

    #contact_city_label2 {
        margin: 7.5px 0 0 0;
    }

    #contact_city_control {
        width: inherit;
        margin: 7.5px 0 0 0;
    }

    .label_row_different {
        float: none;
        width: inherit;
        margin: 0 0 36.8px 0;
    }

    .label_row_different div {
        display: inline-block;
    }

    #contact_select_label2 {
        margin: 7.5px 0 0 0;
    }

    #contact_state_control_select {
        width: 141px;
    }

    #contact_state_control {
        width: 141px;
        margin: 7.5px 0 0 0;
    }

    #contact_country_label2 {
        margin: 7.5px 0 0 0;
    }

    #contact_country_control {
        width: 320px;
        margin: 7.5px 0 0 0;
    }

    .billing_radio_line {
        width: inherit;
    }

    .row_left {
        width: inherit;
    }

    #payment_card_control {
        width: 313px;
        margin: 7.5px 0 0 0;
    }

    #payment_new_card_number_control, #payment_new_card_first_name_control, #payment_new_card_last_name_control {
        width: 320px;
    }

    #payment_new_card_wrapper {
        width: inherit;
    }

    #payment_new_card_expiration_month_control {
        width: 146px;
    }
    #payment_new_card_expiration_year_control {
        width: 150px;
    }

    #payment_new_card_wrapper .label_row_different {
        width: 320px;
        height: 70px;
    }

    #payment_new_card_wrapper .label_row_different div {
        float: right;
        padding-left: 0;
    }

    #card_zip_container{
        margin: 36px 0 36px 0;
        width: inherit;
    }

    #card_address_info_container{
        width: inherit;
    }

    #card_address_info_container div, #card_address_info_container input{
        width: 100%;
    }

    #State_Zip_Country_row {
        width: inherit;
    }

    #payment_new_card_state_control {
        width: 100%;
    }

    #payment_new_card_postal_control {
        width: 100%;
    }

    #payment_new_card_country_name_control{
        width: 100%;
    }

    #payment_new_card_cvv_control {
        width: 146px;
    }

    #incnow_address_p1 {
        width: inherit;
    }

    #wire_container div {
        width: inherit;
    }

    #wire_container p {
        width: inherit;
    }

    #wire_container ul {
        margin: 20px 0 20px 17px;
        font-size: 14px;
        width: inherit;
    }

    #PayNow_message {
        width: inherit;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 50px;
    }

    #tou_wrapper label {
        display: inline-block;
        margin: 0; 
        font-size: 16px;
        padding-left: 31px;
    }

    #tou_wrapper {
         float: right; 
         margin: 0; 
    }

    #tou_wrapper.container {
         padding-left: 0; 
    }

    #tou_wrapper span {
         top: -2px; 
    }

    #btn_checkout{
        width: 100%;
        margin-top: 20px;
    }

    #credit_card_info_row {
        display: inline-block;
        height: unset;
    }

    #credit_card_info_row div {
     display: block; 
    }

    #cvv_container {
        margin-left: unset;
        margin: 15px 0 15px 0;
    }

    #payment_card_buttons_desktop {
        display: none!important;
    }

    #payment_card_buttons_mobile {
        display: block;
    }

    #credit_card_num_container {
        width: unset;
        margin: 0 0 10px 0;
    }

    #payment_new_card_cvv_control{
        margin: unset;
    }

    #addCreditCard {
        display: none;
    }

    #deleteCreditCard_2 {
        width: 100%;
        margin: unset;
    }

    #addCreditCard_2{
        float:none;
        width: 100%;
        margin: unset;
    }

    #payment_options_p {
        font-size: 33px;
    }

    #payment_new_card_country_name_control_container {
        margin-left: unset;
    }

    /*Thankyou view*/
    #thank_you_pane {
        width: inherit;
    }

    #thank_heading {
        font-size: 30px;
    }

    #wire_container_again {
        width: inherit;
    }

    #wire_container_again div, #wire_container_again p {
        width: inherit;
    }

    #wire_container_again ul {
        width: 310px;
        margin: 20px 0 20px 20px;
    }   

    #review_container, #future_PayRA {
        width: 290px;
    }

    #future_PayRA p {
        line-height: 19px;
    }

    /*Cancel Modal*/
    .modal_content_cancel {
        width: 320px;
        top: 30%;
    }

    #cancel_top p, #cancel_invoice_container {
        font-size: 13px
    }

    #cancel_top p {
        width: 290px;
    }

    #cancel_header div {
        margin-right: 10px;
    }

    #cancel_row div {
        margin-right: 15px;
        width: 80px;
    }

    #cancel_row div:first-child{
        margin-right: 39px;
        width: 65px;
    }

    #cancel_row div:last-of-type {
        margin-right: 5px;
        width: 65px;
    }

    #confirm_modal_container h2 {
        font-size: 19px;
    }
}