/*main*/
#accountCompare .move-container {/*slider*/
    max-width: 100%;
    overflow-x: hidden;
}

#accountCompare .move-container p {
    margin-bottom: 0;
}

#accountCompare {
    display: none;
}

#accountCompare #headerWrapper {
    display: table;
    width: 100%;
}

#accountCompare #headerDescription {
    display:  table-row;
}

#accountCompare #headerDescription > div{
    display:  table-cell;
}

#accountCompare .add-margin-sides {
    margin-left: 25px;
    margin-right: 25px;
}

#accountCompare button.secondary {
    border-width: 1px;
}

#accountCompare table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

#accountCompare table tr {
    background: white;
}

#accountCompare table thead tr:first-child th {
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

#accountCompare table th, 
#accountCompare table td,
#accountCompare #headerDescription > div {
    vertical-align: top;
    width: 25%;
    padding: 1.5rem 0.6rem;
}

#accountCompare table tbody tr td,  
#accountCompare table tbody tr th {
    padding: 12px 10px;
    text-align: left;
    font-size: 1rem;
    line-height: 1.667;
}

#accountCompare #headerDescription {
    padding-bottom: 3rem;
}

#accountCompare table tr > th:first-child,
#accountCompare #headerDescription > div:first-child {
    width: 25%;
}
#accountCompare table > tbody :where(th, td) {
    border: 1px solid #86888A;
}

#accountCompare .icon.icon-above {
    display: block;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #C41F3E;
}

#accountCompare .account-wrapper, 
#accountCompare .add-account-wrapper {
    position: relative;
    border: 1px solid #BBBCBC;
    border-radius: 5px;
    margin-bottom: 1.2rem;
}

#accountCompare .add-account-wrapper {
    border: 1px solid #BBBCBC;
    background-color: #F2F3F2; 
}

#accountCompare .account-link-wrapper {
    display: block;
    padding: 20px 40px 20px 20px;
}

#accountCompare .account-wrapper a {
    border-bottom: 1px solid #333;
}

#accountCompare .add-account-wrapper a,
#accountCompare .account-wrapper a:hover {
    border: none;
}

#accountCompare .account-wrapper a:focus {
    border-color: #c41f3e;
}

#accountCompare button.remove-account,
#accountCompare button.add-account {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    height: 20px;
    width: 20px;
    background-color: #FFF;
    border-radius: 50%;
    color: #C41F3E;
    font-size: 0.65rem;
    line-height: 1;
    padding: 4px;
    z-index: 10;
}

#accountCompare .add-account-wrapper a > span.icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    color: #C41F3E;
    padding: 7px 7.5px;
    line-height: 1;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    transition: background-color 300ms ease-out;
    color:  #C41F3E;
    border: 1px solid #C41F3E;
}

 #accountCompare .add-account-wrapper a > span.icon:hover{
    color: #FFF;
    background-color: #8B1D41;
    border: 1px solid #8B1D41;
}

#accountCompare :where(button.remove-account, button.add-account) > span::before{
    font-weight: bold;
}

#accountCompare .account-wrapper span.account-name,
#accountCompare .add-account-wrapper span.account-name{
    font-size: 1.125rem;
    line-height: 1.5;
}

#accountCompare .summary,
#accountCompare .tieredBanking,
#accountCompare .monthlyFee,
#accountCompare .interestRate,
#accountCompare .minInvestments,
#accountCompare .transactions,
#accountCompare .sendTransfer,
#accountCompare .receiveTransfer,
#accountCompare .withdrawal,
#accountCompare .creditCards,
#accountCompare .inquiries,
#accountCompare .paperless {
    display: none;
    background-color: #FFF;
}

#accountCompare .summary.gray,
#accountCompare .tieredBanking.gray,
#accountCompare .monthlyFee.gray,
#accountCompare .interestRate.gray,
#accountCompare .minInvestments.gray,
#accountCompare .transactions.gray,
#accountCompare .sendTransfer.gray,
#accountCompare .receiveTransfer.gray,
#accountCompare .withdrawal.gray,
#accountCompare .creditCards.gray,
#accountCompare .inquiries.gray,
#accountCompare .paperless.gray {
    background-color:  #F2F3F2;
}

#accountCompare .feature-wrapper > p,
#accountCompare .feature-wrapper > ul,
#accountCompare .feature-wrapper > ul > li {
   font-size: 1rem;
   line-height: 1.667;
   margin-bottom: 0;
}

/*sticky*/
#stickyBar {
    margin-top: 0;
    position: relative;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 3px 3px 0 rgba(0,0,0,0.1);
    -moz-box-shadow: 0 3px 3px 0 rgba(0,0,0,0.1);
}
#stickyBar.sticky{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 11;    
    display: block;
    background-color: #FFF;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 3px 3px 0 rgba(0,0,0,0.1);
    -moz-box-shadow: 0 3px 3px 0 rgba(0,0,0,0.1);
}
hide-for-mobile
#stickyBar .row {
    margin-bottom: 0;
}

 /*mobile*/
@media only screen and (max-width: 767px) {
    #accountCompare tr th.hide-for-mobile,
    #accountCompare tr td.hide-for-mobile,
    #accountCompare #headerDescription .hide-for-mobile {
        display: none!important;
    }

    #accountCompare .columns {
        padding-left: 0;
        padding-right: 0;
    }
    
    /*slider*/
    #accountCompare .move-button {
        position: absolute;
        z-index: 2;
        top: 4%;
        font-size: 1.5rem;
        color: #C41F3E;
        display: block;
        width: auto;
        padding: 0.25rem 0;
        background-color: transparent;
    }

    #accountCompare .move-button.prev {
        left: 0.05rem;
        display: none;
        margin-top: 30px;
    }

    #accountCompare .move-button.next {
        right: 0.05rem;
        margin-top: 30px;
    }

    #accountCompare .move-wrapper {
        transition: transform .2s linear;
        transform: translateX(0);
    }

    #accountCompare #headerWrapper.move-wrapper {
        min-width: calc((100vw / 2) * 4);
    }

    #accountCompare #tableContent .move-wrapper {
        min-width: calc((100vw / 2.3) * 4);
    }

    #accountCompare .move-wrapper .row-heading {
        transition: transform .2s linear;
        transform: translateX(0);
    }

    #accountCompare .move-wrapper.next .row-heading {
        transform: translateX(51%);
    }

    #accountCompare .move-wrapper.next{
        transform: translateX(-50%);
    }

    /*end slider*/

    /*sticky*/
    #stickyBar.sticky{
        top: 45px;
    }

    #stickyBar .move-button{
        top: 35%;
    }

    /*table*/
    #accountCompare table th, 
    #accountCompare table td,
    #accountCompare #headerDescription > div {
        width: 25%;
        padding: 1rem 0.625rem;
    }


    #accountCompare table tbody tr td,  
    #accountCompare table tbody tr th {
        font-size: 1rem;
        line-height: 1.625;
        padding: 12px 10px;
    }

    #accountCompare #headerDescription div.column-0,
    #accountCompare #headerDescription div.column-2 {
        padding-left: 1.5rem;
    }

    #accountCompare table td.column-1,
    #accountCompare #headerDescription div.column-1 {
        padding-right: 1.5rem;
    }

    #accountCompare .account-link-wrapper {
        padding: 20px 6px 14px 6px;
    }

    #accountCompare .account-wrapper, 
    #accountCompare .add-account-wrapper {
        margin-bottom: 1rem;
    }

    #accountCompare .account-wrapper span.account-name,
    #accountCompare .add-account-wrapper span.account-name{
        font-size: 1rem;
        line-height: 1.625;
    }

    #accountCompare .icon.icon-above {
        margin-bottom: 0.5rem;
    }

    #accountCompare button.remove-account,
    #accountCompare button.add-account {
        top: 0.4rem;
        right: 0.4rem;
        padding: 4.2px;
    }

    #accountCompare .account-wrapper span.account-name,
    #accountCompare .add-account-wrapper span.account-name{
        font-size: 1rem;
        line-height: 1.625;
    }

    #accountCompare .row-heading{
        font-size: 1rem;
        line-height: 1.667;
    }

    #accountCompare .feature-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    #accountCompare .feature-wrapper > p {
       font-size: 1rem;
       line-height: 1.625;
    }

    #accountCompare .move-wrapper tr.show-for-mobile {
        background-color: #F2F3F2 !important;
    }

    #accountCompare .summary,
    #accountCompare .tieredBanking,
    #accountCompare .monthlyFee,
    #accountCompare .interestRate,
    #accountCompare .minInvestments,
    #accountCompare .transactions,
    #accountCompare .sendTransfer,
    #accountCompare .receiveTransfer,
    #accountCompare .withdrawal,
    #accountCompare .creditCards,
    #accountCompare .inquiries,
    #accountCompare .paperless {
        background-color: #FFF !important;
    }
}

/*tablet*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
    #accountCompare .columns {
        padding-left: 0;
        padding-right: 0;
    }
     /*sticky*/
    #stickyBar.sticky{
        top: 60px;
    }

    /*table*/
    #accountCompare table th, 
    #accountCompare table td,
    #accountCompare #headerDescription > div {
        padding: 1.5rem 0.75rem;
    }

    #accountCompare table tbody tr td,  
    #accountCompare table tbody tr th {
        font-size: 1rem;
        line-height: 1.625;
        padding: 2rem 0.75rem;
    }

    #accountCompare table tr th:first-child,
    #accountCompare #headerDescription > div:first-child {
        padding-left: 1.5rem;
    }

    #accountCompare table td.column-2,
    #accountCompare #headerDescription div.column-2 {
        padding-right: 1.5rem;
        padding-left: 0.5rem;
    }

    #accountCompare table td.column-1, 
    #accountCompare #headerDescription div.column-1{
        padding-right: 1rem;
    }

    #accountCompare table td.column-0,
    #accountCompare #headerDescription div.column-0 {
        padding-left: 1rem;
    }

    #accountCompare .account-wrapper span.account-name,
    #accountCompare .add-account-wrapper span.account-name{
        font-size: 1rem;
        line-height: 1.625;
    }

    #accountCompare .feature-wrapper > p {
       font-size: 1rem;
       line-height: 1.625;
    }

}

/*desktop*/
@media only screen and (min-width: 768px) {
    #accountCompare .move-container .show-for-mobile,
    #accountCompare tr.show-for-mobile,
    #accountCompare tr th.show-for-mobile,
    #accountCompare tr td.show-for-mobile,
    #accountCompare #headerDescription .show-for-mobile{
        display: none!important;
    }
    
    #accountCompare .move-button {/*slider*/
        display: none!important;
    }

}

@media only screen and (max-width:  569px) {
     #accountCompare .move-wrapper .row-heading {
        max-width: 48%;
    }

    #accountCompare .move-wrapper.next .row-heading {
        transform: translateX(108%);
    }
}