header {
    background-color: var(--main-background-color);
    padding-left: 8%;
    padding-top: 1em;
    padding-bottom: 1em;
    justify-content: space-between;
    padding-right: 10%;
    border-bottom: 1px solid var(--main-primary-color);
}
.hd_Logo {
    position: unset;
    margin-left: 10px !important;
    background: url(../images/Reward/Header/RoundTablePizzaRoyalRewards-Logo-Mobile.png) !important;
    background-size: contain !important;
    max-width: 187px;
    width: 187px;
    margin-top: 0;
    height: 50px;
}
.header--section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div#spinner {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    /*
    top: 0;
    left: 0;
    text-align: center;
    padding: 10px;
    border: none;
    margin-left: -50px;
    margin-top: -50px;
    */
    z-index: 10100;
    overflow: auto;
    background-color: rgba(91, 91, 91, 0.10);
}

div#spinner .spinnerinner {
    display: flex;
    height: 100%;
    width: 100%;
    z-index: 10101;
}

    div#spinner img {
        /*
        top: 50%;
        left: 50%;
        position: fixed;
        */
        background: #fff;
        -webkit-border-radius: 12px;
        border-radius: 8px;
        border: 2px solid #976336;
        margin: auto;
        z-index: 10102;
        height: 100px;
        background: url('../images/RTP_AjaxLoader2.gif');
    }
.header--link {    
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    font-size: 0.8em;
    padding: 1em 0.8em;
    font-family: "ModernCaps";
    letter-spacing: 0.4px;
    font-weight: lighter;
    text-transform: uppercase;
    color: #000;
}
.header--link-divide {  
    border-right: 1px solid var(--main-primary-color);
}
.loginText {
    color: #222;
    margin: auto;
    font-family: "ModernCaps";
    font-size: 16px;
    text-decoration: none;
    text-decoration-line: none;
    background-image: url(../images/RTP-Account-Icon.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 35px;
    padding-left: 38px;
    height: 35px;
    padding-top: 9px;
    margin-right:10px;
}
.header-buttons {
    margin-left: 1em;
    display: flex;
    align-items: center;
}
.headerPointCircle {
    background: url(../images/Reward/Header/Points-Circle.png);
    width: 40px;
    height: 40px;
    font-size: 1em;
    line-height: 2em;
    text-align: center;
    margin: auto;
    font-family: "ModernCaps";
    font-size: 12px;
    display: flex;
    vertical-align: middle;
    justify-content: center;
    flex-flow: column;
}
.header-buttons>.button--primary:nth-child(1) {
    margin-right: 0.5em;
}
.flex-header{
    display:flex;    
    flex-direction:row;
}

@media all and (max-width: 768px){
    .flex-header {
        display: block;
        height: auto;
        max-height:140px;
    }
    .header-buttons {
        padding: 10px;
        margin: 0;
        background-color: var(--main-background-gray);
        width: 100%;
        height: 60px;
    }
    .header--section {
        padding: 10px;
        height: 80px;
    }

    header {
        padding: 0;
    }    
    .header--section img {
        width: 35%;
    }

    .header--link {        
        padding-left: 10px;
        border-right: none;        
    }

    .header--link-divide {
        border-right: none;
        border-left: 1px solid var(--main-primary-color);
    }

    .header-buttons > .button--primary {
    flex: 1;
    }

    .header-buttons > .button--primary:nth-child(1) {
        margin-right: 2vw;
        flex: 1;
    }
}
@media all and (max-width: 340px) {
    .header--link {
        font-size: 0.6em;
    }
}