/* glogin - large button style */
div.glogin { cursor: pointer; }

div.glogin div.customGPlusSignIn::before {
    width: 39px;
    height: 40px;
    background: url('../../img/new/gl1.png') no-repeat center;
    display: inline-block;
    content: "";
    vertical-align: middle;
    flex: 0 0 auto;
}

div.glogin div.customGPlusSignIn {
    padding: 0px;
    background: #4285f4;
    height: 40px;
    line-height: 40px;
    color: #FFF;
    text-shadow: 1px 1px 0px #41577d;
    font-size: 13px;
    display: inline-flex !important;
    align-items: center;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    user-select: none;
    -webkit-user-select: none;
    transition: filter 120ms ease, transform 20ms ease, box-shadow 120ms ease;
    box-sizing: border-box;
    max-width: 100%;
    width: auto !important;
}

div.glogin div.customGPlusSignIn span {
    display: inline-block;
    padding: 0 12px 0 8px;
    font-weight: bold;
    vertical-align: middle;
    /* FIX: removed top:-14px which caused button text misalignment */
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

div.glogin div.customGPlusSignIn:after {
    width: 2px;
    height: 40px;
    background: url('../../img/new/gl3.png') no-repeat top left;
    display: inline-block;
    content: "";
    flex: 0 0 auto;
}

div.glogin div.customGPlusSignIn:hover {
    filter: brightness(1.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

div.glogin div.customGPlusSignIn:active {
    transform: translateY(1px);
}

/* FIX: separator between PS login form and Google button */
.glogin-separator {
    text-align: center;
    margin: 15px 0 10px;
    position: relative;
}
.glogin-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #d9d9d9;
}
.glogin-separator span {
    position: relative;
    background: #fff;
    padding: 0 10px;
    color: #888;
    font-size: 12px;
}

/* FIX: center the button properly with spacing from surrounding content */
.glogin-btn-wrap {
    margin: 10px 0 15px;
    text-align: center;
}

.glogin-link {
    float: right;
    border-left: 1px solid #515151;
    display: block;
    color: white;
    font-weight: bold;
    padding: 8px 10px 3px 10px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    line-height: 18px;
}

.gloader {
    display: none;
    position: fixed;
    bottom: 0px;
    right: 0px;
    height: 40px;
    width: 80px;
    background: #C9210D url('../../img/loading.gif') no-repeat center;
    z-index: 9999;
}

.loginpopupsocial {
    display: inline-block;
    float: left;
    margin-right: 10px;
}
.loginpopupsocial span {
    color: #FFF !important;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2) !important;
    font-family: arial !important;
}

.glogin.customBtnDisplayNav2,
.glogin.customBtnDisplayNav1 {
    margin-top: 3px;
    margin-left: 13px;
    margin-right: 13px;
}

/* Keep the "nav link" variant as a block, but prevent other placements from stretching full width */
div.glogin.glogin-link { display: block; }
div.glogin:not(.glogin-link) { display: inline-block; }

/* Login / signup placements: center without stretching full width */
div.glogin.customBtndisplayCustomerLoginFormAfter,
div.glogin.customBtnCreateAccountForm,
div.glogin.customBtnCreateAccountTop {
    display: block;
    width: 100%;
    text-align: center;
}
