/**
 * Plumrocket Inc.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the End-user License Agreement
 * that is available through the world-wide-web at this URL:
 * http://wiki.plumrocket.net/wiki/EULA
 * If you are unable to obtain it through the world-wide-web, please
 * send an email to support@plumrocket.com so we can send you a copy immediately.
 *
 * @package     Plumrocket_SocialLoginPro
 * @copyright   Copyright (c) 2019 Plumrocket Inc. (http://www.plumrocket.com)
 * @license     http://wiki.plumrocket.net/wiki/EULA  End-user License Agreement
 */

.pslogin-addedoverlay {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 2010;
    background-color: #000000;
    filter: alpha(opacity=60);
    opacity: 0.6;
}

.pslogin-pop-up-form {
    left: 0;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 2020;
    height: 100%;
    color: #666666;
    text-align: left;
    overflow-y: auto;
}

#pslogin-pop-up-bg {
    max-width: 480px;
    font-size: 12px;
    padding: 0 10px 0 10px;
    margin: 10% auto 5% auto;
    color: #444;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.pslogin-reminder-container {
    margin-left: auto;
    margin-right: 0;
}

.pslogin-share {
    background-color: #ffffff;
    min-height: 210px;
    padding: 18px 21px;
    position: relative;
    border-radius: 8px;
    text-align: center;
}

#pslogin-sharepopup .pslogin-pop-up-form {
    height: auto;
}

.pslogin-reminder {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 510px;
    background-color: #ffffff;
    min-height: 210px;
    padding: 18px 21px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.19);
}

.pslogin-fake-email-message {
    position: fixed;
    top: 20px;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    z-index: 9999;
}

.pslogin-fake-email-message .content {
    padding: 5px 10px;
    background: #fff;
    max-width: 960px;
    min-width: 250px;
    margin: 0 auto;
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.42);
    -webkit-box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.42);
    -moz-box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.42);
    font-size: 14px;
    color: #636363;
    z-index: 9999;
}

.pslogin-fake-email-message p {
    margin: 10px auto;
    text-align: left;
}

.pslogin-fake-email-message .close-message {
    float: right;
}

.pslogin-fake-email-message .close-message:hover {
    cursor: pointer;
    color: #aeaeae;
}

/* general classes */
.pslogin-share .ta-center {
    text-align: center;
}

.pslogin-share h2 {
    padding: 0 0 10px 0;
    color: #3399cc;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
}

.pslogin-share h2:after {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0;
    height: 1px;
    background: #ddd;
}

.pslogin-share .prpop-close-btn,
.pslogin-reminder .prpop-close-btn {
    position: absolute;
    right: 9px;
    left: auto;
    margin-right: 10px;
    top: 14px;
    text-decoration: none;
    color: #727272;
    font-size: 16px;
    background: none;
}

.pslogin-share .prpop-close-btn:hover {
    color: #b6aba5;
}

.pslogin-share p {
    margin-bottom: 7px;
}

.pslogin-share img {
    max-width: 100%;
    height: auto;
}

.pslogin-share .button-top {
    height: 7px;
}

.pslogin-share a {
    display: inline-block;
    color: #ffffff;
    margin: 0 10px 10px 0;
}

.pslogin-share a:hover {
    cursor: pointer;
    opacity: 0.7;
}

.pslogin-share .social-share-icon {
    fill: #fff;
    height: 40px;
    width: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pslogin-share .social-share-icon > svg {
    width: 25px;
    height: 25px;
}

/*form*/
.w25 {
    width: 25px !important;
}
.w100 {
    width: 100px;
}

.pslogin-block.account-login .content {
    margin: 0;
}

.pslogin-form .registered-users .content {
    margin: 0 !important;
}

.pslogin-block.account-login .form-list label,
#checkout-step-login .pslogin-block .form-list label {
    width: auto;
    float: none;
}

.pslogin-block.account-login .form-list .input-box,
#checkout-step-login .pslogin-block .form-list .input-box {
    float: none;
}

#checkout-step-login .col2-set {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.pslogin-block.account-login .buttons-set {
    min-height: 40px;
}

.pslogin-block.col2-set {
    margin: 0;
}

.pslogin-block.col2-set .buttons-set {
    padding: 0;
}

.pslogin-block.col2-set .fieldset {
    margin: 15px 0;
}

.pslogin-block button.button span,
.pslogin-block button.button span span {
    height: auto;
}

.pslogin-share .soc-name {
    height: 30px;
    line-height: 30px;
    padding: 0 7px;
    display: block;
    float: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* welcome message */
.pslogin-welcome-msg {
    height: 22px;
    line-height: 22px;
    float: none;
    display: inline-block;
    margin: 0 0 5px 0;
}

.pslogin-welcome-msg:after {
    clear: both;
    content: "";
}

.pslogin-welcome-msg img {
    height: 25px;
    display: inline-block;
    padding: 0 5px 0 0;
    float: left;
}

/* Buttons */
.popup-authentication .pslogin-block:before,
.popup-authentication .pslogin-block:after{
    content: '';
    display: block;
    clear: both;
}

.cart-container .pslogin-block.pslogin-login {
    width: 75%;
    float: left;
    box-sizing: border-box;
    padding-right: 4%;
}

.pslogin-block {
    width: 100%;
    margin: 0 0 20px 0;
}

.pslogin-block * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.pslogin-block .linked-account:before,
.pslogin-block .linked-account:after {
    content: "";
    display: block;
    clear: both;
}

.pslogin-block.pslogin-hidden-text .pslogin-button-text {
    display: none !important;
}

.pslogin-block .pslogin-xs {
    display: none !important;
}

.pslogin-block .pslogin-button-image {
    display: block;
}

.pslogin-block .pslogin-clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.pslogin-block .title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 12px;
}

.pslogin-spacer {
    display: block;
    margin: 10px auto;
    position: relative;
    text-align: center;
    line-height: 16px !important;
    top: auto;
    left: auto;
    height: auto;
    width: auto;
    overflow: visible;
    font-size: 13px;
}

.pslogin-spacer table {
    width: 100%;
}

.pslogin-spacer table tr td:first-child {
    padding-left: 0;
}
.pslogin-spacer table tr td:last-child {
    padding-right: 0;
}

.pslogin-spacer.pslogin-showmore table td {
    padding: 5px 0;
}

.pslogin-spacer table td {
    vertical-align: middle;
    padding: 10px 5px;
}

.pslogin-spacer .pslogin-border {
    border-top: 1px solid #e5e2e2;
    width: 100%;
}

.pslogin-spacer .pslogin-bordertext {
    color: #b2b2b2;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
}

.pslogin-spacer .pslogin-showmore-button.pslogin-bordertext {
    text-transform: none;
}

.pslogin-spacer.pslogin-showmore .pslogin-bordertext {
    height: 20px;
    line-height: 17px;
    padding: 0;
    border: 1px solid #e5e2e2;
    border-radius: 9px;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
}

.pslogin-spacer.pslogin-showmore .pslogin-bordertext:hover {
    color: #989898;
    cursor: pointer;
}

.pslogin-spacer .circle {
    width: 90%;
    height: 25px;
    line-height: 22px;
    font-size: 11px;
    border: 1px solid #b2b2b2;
    border-radius: 0 7px;
    margin: 0 auto;
    background-color: #eeeeee;
}

.pslogin-spacer .circle:hover {
    cursor: pointer;
    background-color: #fafafa;
}

.pslogin-block .pslogin-showmore {
    margin-top: 20px;
}

.pslogin-block.pslogin-login .pslogin-buttons {
    display: block;
}

.pslogin-block.pslogin-register .pslogin-buttons {
    display: block;
}

.pslogin-block .pslogin-buttons ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 0;
}

.customer-account-login .pslogin-buttons .ps-default{
    max-width: 186px;
}

.pslogin-block .pslogin-buttons ul li {
    display: block;
    line-height: normal;
    list-style: none !important;
    padding: 0 !important;
    background: none !important;
    min-height: 48px;
    margin: 7px;
    position: relative;
}

.pslogin-block .pslogin-button:not(.ps-default){
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.pslogin-block .pslogin-buttons ul li a {
    display: block;
    height: 100%;
    text-decoration: none;
}

.pslogin-block .pslogin-buttons ul li.show-button-image {
    background: none !important;
}

.pslogin-block .pslogin-buttons ul li:hover {
    opacity: 0.9;
    filter: alpha(opacity=90);
}

/*
 * Per-network colors are no longer hardcoded here: ViewModel\ButtonStyle
 * renders them as CSS variables on .pslogin-button-auto (same config source
 * as the admin network-icon chips):
 *
 *   --pslogin-button-background    --pslogin-button-border-color    --pslogin-button-text-color
 *
 * Each property first reads a reserved --pslogin-button-custom-* variable,
 * kept for a future admin-configurable button design (set it on any ancestor,
 * e.g. :root, to override the network colors). The last value in the chain is
 * the default for networks without a configured color.
 */
.pslogin-block .pslogin-buttons ul li span.pslogin-button-auto {
    background-color: var(--pslogin-button-custom-background, var(--pslogin-button-background, #3399cc));
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 4px;
    border-radius: 4px;
    border: 1px solid var(--pslogin-button-custom-border-color, var(--pslogin-button-border-color, transparent));
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.18);
}

.pslogin-button:not(.ps-default) .pslogin-button-auto{
    justify-content: center;
}

.pslogin-block .pslogin-buttons ul .ps-round span.pslogin-button-auto {
    border-radius: 50%;
}

.pslogin-buttons-show-short .pslogin-button-auto{
    justify-content: center;
}

.pslogin-block .pslogin-buttons ul li .pslogin-button-icon,
.pslogin-account_body .pslogin-button-icon{
    display: block;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.pslogin-block .pslogin-buttons ul li .pslogin-button-icon img {
    width: 100%;
}

.pslogin-button.ps-default .pslogin-button-text {
    display: flex;
}

.pslogin-buttons .pslogin-button-text {
    box-sizing: border-box;
    font: 600 13px/1 'Roboto', Arial, sans-serif;
    text-align: left;
    color: var(--pslogin-button-custom-text-color, var(--pslogin-button-text-color, #fff));
    min-width: 144px;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: flex-start;
    padding-left: 4px;
}

.pslogin-block .pslogin-buttons .pslogin-button-image {
    display: inline-block;
}

.pslogin-block .pslogin-buttons .pslogin-button-icon-image {
    display: inline-block;
}

.pslogin-block .pslogin-buttons.pslogin-buttons-showfull .pslogin-button-icon-image {
    display: none;
}

.pslogin-block .pslogin-buttons.pslogin-buttons-showfull .pslogin-button-auto.pslogin-has-button-image {
    display: none;
}

.pslogin-block .pslogin-buttons.pslogin-buttons-showfull .pslogin-button-auto.pslogin-has-button-icon-image {
    display: inline-block;
}

.pslogin-block .pslogin-buttons .pslogin-button-auto.pslogin-has-button-icon-image {
    display: none;
}

.pslogin-block .pslogin-buttons .pslogin-button-auto .pslogin-button-icon-image {
    display: inline-block;
    width: 32px;
    height: 32px;
}

.checkout-index-index .authentication-wrapper {
    line-height: 1;
}

.pslogin-openid.aol input[type=submit] {
    background-color: #008bd3;
    -webkit-appearance: none;
}

/*=== open-id Page ===*/
.pslogin-openid {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.pslogin-openid .network-logo {
    background: url('../images/social_openid.png');
    width: 180px;
    height: 70px;
    margin: 0 auto 15px auto;
}

.pslogin-openid input[type=submit] {
    height: 32px;
    line-height: 32px;
    vertical-align: top;
    padding: 0;
    text-align: center;
    min-width: 144px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 12px;
    color: #ffffff;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border: 0;
}

.pslogin-openid input[type=submit]:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.pslogin-openid input[type=text] {
    width: 100%;
    border: 1px solid #d0d0d0;
    height: 30px;
    line-height: 25px;
    margin-bottom: 5px;
    margin-top: 10px;
    padding: 2px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 14px;
}

.pslogin-openid .form-wrapper {
    background-color: #f3f3f3;
    color: #464646;
    width: 300px;
    margin: 0 auto;
    padding: 25px;
    box-shadow: 0 2px 7px 0 #c1c1c1;
    -moz-box-shadow: 0 2px 7px 0 #c1c1c1;
    -webkit-box-shadow: 0 2px 7px 0 #c1c1c1;
    border-radius: 15px;
    font-size: 14px;
}

.pslogin-openid .ajax-loader {
    width: 110px;
    height: 14px;
    margin: 0 auto 5px auto;
}

.pslogin-openid .ajax-loader .image-gif {
    background: url('../images/ajax-loader-h.gif');
    width: 110px;
    height: 14px;
    display: none;
}

.pslogin-openid .ajax-loader .error-text {
    color: #ff0000;
    font-size: 11px;
}

/* Social account section */
.pslogin-account-view .social-accounts_wrapper{
    margin-top: 35px;
}

.social-accounts_wrapper{
    display: grid;
    grid-gap: 75px;
}

.accounts-subtitle{
    font-size: 24px;
    color: #333333;
    padding-bottom: 15px;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 20px;
    line-height: 1;
}

.pslogin-account_row{
    background: #F9F9F9;
    border-radius: 93px;
    padding: 5px 90px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.pslogin-account_row:not(:last-of-type){
    margin-bottom: 15px;
}

.pslogin-account_body{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pslogin-account_name{
    font-weight: 600;
    font-size: 14px;
    color: #333333;
}

.pslogin-account_body .pslogin-button-auto{
    background-color: var(--pslogin-button-custom-background, var(--pslogin-button-background, #3399cc));
    border: 1px solid var(--pslogin-button-custom-border-color, var(--pslogin-button-border-color, transparent));
    height: 50px;
    width: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px #b4b4b4a1;
}

.pslogin-account_unlink{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #3E85EF;
    font-weight: 400;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.pslogin-account_unlink svg{
    flex-shrink: 0;
    top: 1px;
    position: relative;
}

.pslogin-account_unlink span{
    text-decoration-line: underline;
}

.pslogin-account_unlink:hover span{
    text-decoration-line: none;
}

.pslogin-block .unlinked-account .pslogin-buttons ul{
    justify-content: start;
    gap: 14px;
}

.pslogin-block .unlinked-account .pslogin-buttons ul li{
    margin: 0;
}

@media (min-width: 768px){
    .social-accounts_wrapper{
        grid-template-columns: 1fr 1fr;
    }

    .pslogin-block .unlinked-account .pslogin-buttons ul{
        padding-top: 5px;
    }

    .unlinked-account .pslogin-buttons .ps-default{
        width: calc(50% - 7px);
        min-width: 200px;
    }
}

.ps-login-wrapper.modal-slide .modal-inner-wrap {
    width: -moz-max-content;
    width: max-content;
    min-width: 350px;
    max-width: 630px;
}

.ps-login-wrapper.modal-popup.modal-slide .modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    border-top: none;
}

.ps-login-wrapper.modal-popup.modal-slide .modal-footer.hidden {
    display: none;
}

.ps-login-wrapper button.action.primary {
    margin-left: 0;
    margin-right: 10px;
    margin-bottom: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.ps-login-wrapper button.action.pslogin-bind-step-4 {
    width: 275px;
    margin-left: auto;
    margin-right: auto;
}

.ps-login-wrapper .pslogin-clearfix {
    margin-top: 10px;
    margin-bottom: 0;
}

.ps-login-wrapper .pslogin-block {
    margin-bottom: 0;
}

.modal-popup.ps-login-wrapper .modal-content {
    padding-bottom: 26px;
    overflow-y: hidden;
}

.ps-login-wrapper .pslogin-authorization-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 15px;
}

.pslogin-state-step-1,
.pslogin-state-step-2.ps-no-linked,
.pslogin-state-step-3 {
    max-width: 290px;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* IE10+ specific styles go here */
    .pslogin-state-step-1,
    .pslogin-state-step-2,
    .pslogin-state-step-3 {
        max-width: 100%;
    }
}

.ps-login-wrapper #pslogin_bind {
    width: 100%;
}

.pslogin-state-step-5 #pslogin_bind {
    width: 45%;
}

#pslogin_bind .label {
    font-weight: 600;
}

.ps-login-wrapper .pslogin-or-border {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 200px;
    margin-left: 2.5%;
    margin-right: 2.5%;
    color: #b2b2b2;
    font-size: 11px;
}

.ps-login-wrapper .pslogin-or-border::before,
.ps-login-wrapper .pslogin-or-border::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 90px;
    background-color: #b2b2b2;
}

.ps-login-wrapper .pslogin-or-border::before {
    top: 0;
}

.ps-login-wrapper .pslogin-or-border::after {
    bottom: 0;
}

.ps-login-wrapper .modal-slide._inner-scroll .modal-content {
    overflow-y: visible;
}

.ps-login-wrapper .fieldset-wrapper .field {
    margin-bottom: 10px;
}

.ps-login-wrapper .pslogin-authorization-wrapper button.action.primary {
    margin-left: 0;
}

.ps-login-wrapper .button-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ps-login-wrapper .button-wrapper button.action.primary {
    margin-bottom: 0;
}

.pslogin-authorization-wrapper fieldset {
    margin-bottom: 20px;
}

.ps-login-wrapper .pslogin-buttons ul li {
    width: 100%;
}

.ps-login-wrapper .pslogin-buttons ul li a {
    display: block;
}

.ps-login-wrapper .pslogin-block .pslogin-button-link .pslogin-button-auto {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.ps-login-wrapper .pslogin-button-text {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.pslogin-success-icon {
    position: relative;
    left: 50%;
    margin-left: -46px;
    margin-top: 28px;
    -webkit-transform: scale(3);
    -ms-transform: scale(3);
    transform: scale(3);
    -webkit-animation: success-message-icon-anim 2s 0.5s;
    animation: success-message-icon-anim 2s 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.pslogin-thank-text {
    margin-top: 15px;
    text-align: center;
    font-size: 22px;
}

.ps-login-networks-container {
    width: 45%;
}

#pslogin_bind_email:disabled {
    background-color: #f1f1f1;
    color: #6d6d6d;
    opacity: 1;
}

.pslogin-reminder-container {
    height: 0;
}

.pslogin-form-title {
    margin-top: 10px;
}

.checkout-index-index .authentication-dropdown .pslogin-button {
    margin: 0 4px 4px 0;
}

.customer-account-login #login-form .pslogin-buttons ul {
    margin: 0 -7px;
}

.pslogin-reminder {
    max-height: 80vh;
    overflow: auto;
}

@media screen and (max-width: 1280px) and (min-width: 767px) {
    .authentication-dropdown .pslogin-buttons-showfull {
        text-align: center;
    }

    .authentication-dropdown .pslogin-block .pslogin-buttons ul li {
        float: none;
    }

    .authentication-dropdown .pslogin-block .pslogin-buttons.pslogin-buttons-show-short ul li {
        float: left;
    }
}

@media screen and (max-width: 1280px) {
    .pslogin-block .pslogin-buttons ul li .pslogin-button-text {
        min-width: 155px;
    }
}

@media screen and (max-width: 1190px) {
    .pslogin-block .pslogin-buttons ul li .pslogin-button-text {
        min-width: 144px;
    }
}

@media screen and (max-width: 767px) {
    .pslogin-block .pslogin-buttons.show-button-text ul li .pslogin-button-text {
        display: inline-block;
    }

    .pslogin-block .pslogin-xs {
        display: inline-block !important;
    }

    .ps-login-wrapper.modal-slide .modal-inner-wrap {
        width: 100%;
        max-width: none;
    }

    .ps-login-wrapper._inner-scroll .modal-footer {
        margin-top: 0;
        text-align: right;
    }

    .pslogin-state-step-1,
    .pslogin-state-step-2,
    .pslogin-state-step-3 {
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    .modal-footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .ps-login-wrapper button.action.pslogin-bind-step-4 {
        width: 100%;
    }

    .ps-login-wrapper button.action.primary {
        margin-right: 0;
    }

    .ps-login-wrapper.modal-slide .modal-inner-wrap {
        min-width: 260px;
    }
}

@media screen and (max-width: 640px) {
    .pslogin-block .pslogin-button.ps-default {
        margin: 0 0 15px 0;
        width: 100%;
        max-width: 100%;
    }

    .pslogin-block .pslogin-buttons ul li span.pslogin-button-auto {
        width: 100%;
    }

    .pslogin-block .pslogin-buttons ul li .pslogin-button-text {
        width: 100%;
        position: relative;
        z-index: 100;
    }

    .ps-login-wrapper .pslogin-authorization-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .ps-login-wrapper #pslogin_bind,
    .ps-login-wrapper .ps-login-networks-container {
        width: 100%;
    }

    .ps-login-wrapper .pslogin-or-border {
        height: 20px;
        margin-top: 15px;
    }

    .ps-login-wrapper .pslogin-or-border::before,
    .ps-login-wrapper .pslogin-or-border::after {
        top: 50%;
        width: 45%;
        height: 1px;
    }

    .ps-login-wrapper .pslogin-or-border::before {
        left: 0;
    }

    .ps-login-wrapper .pslogin-or-border::after {
        right: 0;
        left: auto;
    }
}

@media screen and (max-width: 480px) {
    .ps-login-wrapper button.action.primary.pslogin-bind-step-4 {
        width: 100%;
        margin-left: 0;
    }

    .modal-popup.ps-login-wrapper .modal-footer {
        padding-top: 20px;
    }

    .ps-login-wrapper input {
        height: 34px;
        font-size: 16px;
    }

    .pslogin-reminder {
        width: auto;
        left: 10px;
    }
}

@media screen and (max-width: 399px) {
    .modal-popup.ps-login-wrapper .modal-header,
    .modal-popup.ps-login-wrapper .modal-content,
    .modal-popup.ps-login-wrapper .modal-footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ps-login-wrapper .pslogin-bind-step-4 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/*=== animate ===*/
#pslogin-pop-up-bg {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDownBig {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -2000px, 0);
        transform: translate3d(0, -2000px, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDownBig {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -2000px, 0);
        transform: translate3d(0, -2000px, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes success-message-icon-anim {
    0% {
        opacity: 0;
        -webkit-transform: scale(3);
        transform: scale(3);
    }

    33% {
        opacity: 0.5;
        -webkit-transform: scale(0.2);
        transform: scale(0.2);
    }

    66% {
        opacity: 0.7;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes success-message-icon-anim {
    0% {
        opacity: 0;
        -webkit-transform: scale(3);
        transform: scale(3);
    }

    33% {
        opacity: 0.5;
        -webkit-transform: scale(0.2);
        transform: scale(0.2);
    }

    66% {
        opacity: 0.7;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.fadeInDownBig {
    -webkit-animation-name: fadeInDownBig;
    animation-name: fadeInDownBig;
}
