/* Member card styling */
#cardInfo {
    position: absolute;
    top: 50%;
    color: #000000;
    width: 100%;
    right: 6%;
}

#memberName {
    font-size: 11px;
    text-align: right;
    margin: 0;
    padding: 0 2px 0 0;
    width: auto;
    font-weight: bold;
    text-transform: uppercase;
}

#cardInfoTable {
    border-collapse: separate;
    margin: 0;
    top: 0px;
    width: auto;
    text-align: right;
}

#bottomText {
    font-size: 10px;
    width: auto;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    padding: 0 0 0 10px;
}

.aaarow1 {
    font-size: 15px;
    padding: 0 0 0 7px;
    letter-spacing: 1px;
}

.aaarow2 {
    font-size: 7px;
    padding: 1px 0 0 8px;
}
/* End Member card styling */

/* Top banner styling */
#homeBanner {
    background: white;
}

.banner-item {
    padding: 10px;
    border: 2px solid gray
}

.banner-subtext {
    font-size: 11px;
}

.reinstate-pending {
    font-size: 11px;
    font-weight: bold;
    color: darkred;
}

.bnrbox1-inner {
    margin-top: 10px;
    float: left;
}

#bnrbox1 {
    width: 33%;
    padding: 10px 5px 0 10px;
    border: 2px solid gray;
    height: 100px;
    position: relative;
}

#bnrbox2 {
    width: 34%;
    text-align: center;
    height: 100px;
}

#bnrbox3 {
    flex-grow: 1;
    text-align: center;
    height: 100px;
}

#planlogo-container {
    float: right;
    width: 40%;
    margin-right: 14%;
}

#planLogo {
    width: 83px;
    height: 60px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

#greeting {
    font-size: 15px;
    font-weight: bold;
}

#signoutLink {
    visibility: visible;
    font-size: 12px;
}

#signout-link-mobile {
    visibility: hidden;
    font-size: 12px;
}
/* End top banner styling */

/* Canceled membership dialog box styling */
.noTitleStuff .ui-dialog-titlebar {
    display: none
}

.dialogNoTitleColor .ui-dialog-titlebar {
    color: black !important;
    font-weight: bold !important;
    background-color: transparent !important;
    border-top-color: transparent !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: gray !important;
}

.ui-dialog-titlebar {
    border: 1px solid #003eff !important;
    background: #007fff !important;
    font-weight: normal !important;
    color: #fff !important;
}

.ui-widget-overlay {
    opacity: .50 !important; /* Make sure to change both of these, as IE only sees the second one */
    filter: Alpha(Opacity=50) !important;
    background: rgb(50, 50, 50) !important; /* This will make it darker */
}

#dialogCanceled {
    display:none;
    padding: 20px 20px 0;
}

div.ui-dialog-buttonset .renew-button {
    background: red;
    color: white;
}

div.ui-dialog-buttonset .dialog-button {
    padding: 4px;
    margin: 10px;
}

#cxl_dialog_parent {
    width: 50% !important;
    left: 25% !important;
}
/* End canceled membership dialog box styling */


.get-ers-div {
    float: left;
    width: 230px;
    margin-top: 10px;
    margin-left: 7%;
}

.get-ers-button {
    background: red !important;
    color: white !important;
}

    .get-ers-button:hover {
        color: yellow !important;
    }

.phone-label {
    display: inline-block;
    width: 50px;
}

.home-table-header {
    margin: 10px 0;
    border: 1px black solid;
    width: 100%;
    display: block;
    font-weight: bold;
}

.home-header-item {
    display: none;
}

.table-hdr-year-col {
    width: 94px;
    text-align: center;
    padding-left: 10px;
}

.table-hdr-vehicle-col {
    width: 135px;
    text-align: center;
}

.table-hdr-loc-col {
    width: 260px;
    text-align: center;
}

.table-hdr-col {
    text-align: center;
}

.table-hdr-pay-col {
    width: 400px;
    text-align: center;
}

.ers-row {
    margin-bottom: 1px;
    display: flex;
}

.ers-tail-item {
    flex-grow: 1;
}

.table-col-year {
    width: 94px;
}

.table-data-vehicle {
    width: 114px;
    margin-right: 10px;
}

.table-data-loc {
    width: 230px;
    margin-right: 10px;
}

.table-data-type {
    width: 100%;
}

.pmt-col-type {
    width: 300px;
    margin-left: 80px;
}

.pmt-tail-item {
    width: 20%;
    float: left;
}

.gift-col-name {
    width: 140px;
    margin-right: 10px;
    margin-bottom: 4px;
}

.gift-col-expdate {
    width: 100px;
}

/* Override accordion content styling */
.content-block .info-block .payment-panel {
    padding: 0.5em 1.2em;
}

#set-autorenew-link2 {
    display: none;
}

div h3.hide {
    display: none;
}

/******* Mobile View *******/

/*  Card Styling  */
@media screen and (min-width:1px) and (max-width:999px) {
    #memberName {
        font-size: 13px;
    }

    #planlogo-container {
        width: 55%;
        padding-right: 17%;
    }

.get-ers-div {
    margin-left: 0;
    width: 150px;
}
    .aaarow2 {
        font-size: 7px;
    }

    #bottomText {
        font-size: 7px;
    }

    /*  Banner Header Styling  */

    #homeBanner {
        background: white;
    }

    #bnrbox1 {
        width: 100%;
    }

    #bnrbox2 {
        width: 100%;
        text-align: center;
    }

    #bnrbox3 {
        width: 100%;
        text-align: center;
    }

    #signout-link-mobile {
        visibility: visible;
    }

    .dialog-button {
        display: block;
    }
}

/* Wide screen styling for banner heading */
@media screen and (min-width:1000px) and (max-width:99999px) {
    #homeBanner {
        display: flex
    }
}

/* Mobile view */
@media screen and (min-width:100px) and (max-width:439px) {
    #memberName {
        font-size: 15px;
    }

    .aaarow1 {
        font-size: 17px;
    }

    #bottomText {
        font-size: 8px;
    }

    .content-block .info-block .payment-panel {
        font-size: 12px;
        padding: 0.5em 1px;
    }

    #set-autorenew-link1 {
        display: none;
    }

    #set-autorenew-link2 {
        display: block;
    }

        #set-autorenew-link2 p {
            margin: 0 20px;
        }

    .home-table-header {
        display: none;
    }

    .home-header-item {
        display: inline-block;
        width: 110px;
        font-weight: bold;
    }

    .ers-row {
        display: block;
        margin-bottom: 10px;
    }

    .ers-item {
        width: 100%;
        float: none;
    }

    .ers-tail-item {
        width: 100%;
        float: none;
    }

    .table-col-year {
        width: 100%;
        display: block;
    }

    .table-data-vehicle {
        width: 100%;
        display: block;
    }

    .table-data-loc {
        width: 100%;
        display: block;
    }

    .pmt-tail-item {
        width: 100%;
        float: none;
    }

    .pmt-col-type {
        width: 100%;
        margin-left: 0;
        display: block;
    }

    .pmt-col-amt {
        width: 100%;
        display: block;
    }

    .no-records-msg {
        margin: 5px;
    }

    .gift-col-name {
        width: 100%;
        display: block;
        margin-bottom: 0;
    }

    .gift-col-expdate {
        width: 100%;
        display: block;
    }
}


@media screen and (min-width:540px) and (max-width:619px) {
    #memberName {
        font-size: 11px;
    }

    .aaarow1 {
        font-size: 13px;
    }

    .aaarow2 {
        font-size: 6px;
    }

    #bottomText {
        font-size: 6px;
    }
}

@media screen and (min-width:620px) and (max-width:699px) {
    .aaarow2 {
        font-size: 7px;
    }

    #bottomText {
        font-size: 7px;
    }
}

@media screen and (min-width:600px) and (max-width:799px) {
    #bottomText {
        font-size: 6px;
    }
}

@media screen and (min-width:730px) and (max-width:99999px) {
    #memberName {
        font-size: 11px;
    }

    .aaarow1 {
        font-size: 15px;
    }

    .aaarow2 {
        font-size: 7px;
    }

    #bottomText {
        font-size: 7px;
    }
}
/* Smallest card size */
@media screen and (min-width:550px) and (max-width:800px) {
    #memberName {
        font-size: 10px;
    }

    .aaarow1 {
        font-size: 12px;
    }

    #bottomText {
        font-size: 5px;
    }
}

/* Right sidebar compress point */
@media screen and (min-width:915px) and (max-width:1000px) {
    #bottomText {
        font-size: 6px;
    }
}

/* Mobile styling for expired membership dialog box*/
@media screen and (max-width:1000px) {
    #cxl_dialog_parent {
        width: 70% !important;
        left: 15% !important;
    }

    .renew-button {
        display: block;
    }
}

@media screen and (max-width:539px) {
    #cxl_dialog_parent {
        width: 80% !important;
        left: 10% !important;
    }
    .get-ers-div {
        width: 280px;
    }
}
