/* linked accounts */
.social-account-pane {
    overflow: hidden;
    margin: 0 10px;
}
.social-content-excerpt {
    font-size: 12px;
    margin: 12px 5px;
}
.social-account-list{
    display: inline-block;
    padding: 0 5px;
    width: 100%;
}

.social-account-item{
    position: relative;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding: 0 0 10px 0;
}

.social-account-item:first-child{
    border-top: none;
}

.social-account-item .item-cell{
    display: table-cell;
    vertical-align: middle;
}

.social-link-avatar{
    width: 150px;
    white-space: nowrap;
    padding: 0 10px;
    overflow: hidden;
}

.social-account-wrapper .social-account-icon{
    border-radius: 0;
}

.social-link-avatar-name{
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#customer-portal-main .social-account-unlink .action.primary,
.social-account-unlink .action.primary{
    line-height: 35px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #e34131;
    border-width: 0;
    border-radius: 5px;
    width: 67px;
    font-weight: normal;
    font-size: 12px;
}
.social-account-unlink .action.primary:hover {
    opacity: 0.8;
}

.social-account-item div.clearfix {
    clear: both;
}

.social-account-item .social-account-wrapper,
.social-account-item .social-link-avatar{
    line-height: 0;
}

.social-link-avatar-img,
.social-link-avatar-name{
    display: inline-block;
    vertical-align: middle;
}

.social-link-avatar-img{
    max-width: 40px;
    border-radius: 50%;
    -ms-border-radius: 50%;
}

.social-link-avatar-name{
    line-height: normal;
    margin-left: 10px;
}

@media (max-width: 500px){
    .social-link-avatar{
        padding: 0 10px;
    }

    .social-link-avatar-name{
        font-size: 12px;
        width: 180px;
    }
}

/* ==================== */

/* login with social account */

.social-login-list{
    padding: 0;
    width: 475px;
    margin: 0 auto;
    text-align: center;
}

.social-login-list li{
    list-style: none;
}

.social-login-btn{
    position: relative;
    display: block;
    width: 219px;
    height: 55px;
    color: white;
    font: 300 15px 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 30px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
}

.social-login-btn:visited{
    color: #fff;
}

.social-login-btn:hover {
    opacity: 0.8;
}

.social-login-btn:hover,
.social-login-btn:active{
    color: #fff;
    text-decoration: none;
}

.social-login-btn:active{
    top: 2px;
}

.social-login-icon{
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 100%;
    box-shadow: inset -1px 0px 0 0 rgba(255,255,255,0.15);
}

.social-login-label{
    font-weight: 600;
}

.social-login-btn-twitter{
    background-color: #61abea;
}

.social-login-btn-facebook{
    background-color: #3a5ba2;
    float: left;
    background: url('../images/btn-login-face.png') no-repeat center #3a5ba2;
}

.social-login-btn-google{
    background-color: #e3413e;
    float: right;
    background: url('../images/btn-login-gg.png') no-repeat center #e3413e;
}

.social-login-btn-linkedin{
    background-color: #2088ba;
}

.social-login-btn-instagram{
    background-color: #607e9c;
}

.social-login-btn-pinterest{
    background-color: #cb383e;
}

.social-login-btn-vk{
    background-color: #647ca2;
}

.social-login-btn-odnoklassniki{
    background-color: #ea7f2f;
}

.social-login-icon-twitter{
    border-right: 1px solid #408ccb;
    background: url('../images/social-sprite.png') 3px 0px/30px no-repeat #529ede;

}

.social-login-icon-facebook{
    border-right: 1px solid #39497f;
    background: url('../images/social-sprite.png') 3px -30px/30px no-repeat #4c5d98;
}

.social-login-icon-google{
    border-right: 1px solid #9f3729;
    background: url('../images/social-sprite.png') 3px -60px/30px no-repeat #af4738;
}

.social-login-icon-linkedin{
    border-right: 1px solid #0e6691;
    background: url('../images/social-sprite.png') 3px -90px/30px no-repeat #197cac;
}

.social-login-icon-instagram{
    border-right: 1px solid #344c64;
    background: url('../images/social-sprite.png') 3px -120px/30px no-repeat #445e78;
}

.social-login-icon-pinterest{
    border-right: 1px solid #9a2024;
    background: url('../images/social-sprite.png') 3px -150px/30px no-repeat #b62c31;
}

.social-login-icon-vk{
    border-right: 1px solid #3c4f6d;
    background: url('../images/social-sprite.png') 3px -180px/30px no-repeat #4f6589;
}

.social-login-icon-odnoklassniki{
    border-right: 1px solid #ce671b;
    background: url('../images/social-sprite.png') 3px -210px/30px no-repeat #de7527;
}

/* social account icon */

.social-account-icon{
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 3px;
}

.social-account-twitter{
    background: url('../images/social-sprite.png') 0 0/50px no-repeat #529ede;
}

.social-account-facebook{
    background: url('../images/social-sprite.png') 0 -50px/50px no-repeat #4c5d98;
}

.social-account-google{
    background: url('../images/social-sprite.png') 0 -100px/50px no-repeat #af4738;
}

.social-account-linkedin{
    background: url('../images/social-sprite.png') 0 -150px/50px no-repeat #197cac;
}

.social-account-instagram{
    background: url('../images/social-sprite.png') 0 -200px/50px no-repeat #445e78;
}

.social-account-pinterest{
    background: url('../images/social-sprite.png') 0 -250px/50px no-repeat #b62c31;
}

.social-account-vk{
    background: url('../images/social-sprite.png') 0 -300px/50px no-repeat #4f6589;
}

.social-account-odnoklassniki{
    background: url('../images/social-sprite.png') 0 -350px/50px no-repeat #de7527;
}

/* social login blocks */

/* cart page */
.checkout-cart-index .social-login-list {
    margin-top: 20px;
}

/* checkout page login popup */
.block-authentication form[data-role='login'] ul.social-login-list {
    padding-left: 0;
}

/* Magento Blank */

/* customer login page */
.customer-account-login .social-login-list.social-login-theme-magento_blank {
    margin-left: 25.7%;
}

/* customer create page */
.customer-account-create .social-login-list.social-login-theme-magento_blank {
    margin-left: 25.7%;
}

.facebook-login button {
    display: block;
    background: url("../images/btn-login-face.png") no-repeat;
}

.google-login button {
    display: block;
    background: url("../images/btn-login-gg.png") no-repeat;
}

span.social-name {
    width: 100%;
    display: block;
    font-weight: 700;
}

span.account-connected,
span.account-not-connected {
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
    display: block;
}

#customer-portal-main span.account-connected a,
#customer-portal-main span.account-not-connected a {
    color: #337ab7;
}
#customer-portal-main span.account-connected a:visited,
#customer-portal-main span.account-not-connected a:visited {
    color: #337ab7;
}

span.account-connected {
    color: #46d07d;
}
span.account-not-connected {
    color: #E1302D;
}

@media only screen and (max-width: 768px) {
    .social-login-list{
        display: block;
        padding-top: 10px;
        width: 219px;
        overflow: hidden;
    }
    .social-login-btn-facebook,
    .social-login-btn-google{
        float: none;
        margin-bottom: 5px;
    }
}

