/* LOG IN MENU */
/* used on desktop site and supplier2 */
.user-menu-wrapper {
    right: 0;
    top: 0;
    position: absolute;
    z-index: 99;
    background: #4f849d;
    background: rgba(79, 132, 157, 0.7);
    border-radius: 0px 0px 5px 5px;
    min-width: 135px;
}

.user-menu-wrapper .menu-favourites {
    position: relative !important;
    right: 0;
    top: 0;
    margin-top: 28px;
    text-align: right;
    color: white;
}

.user-menu-wrapper .menu-list-selected.favourites {
    border-radius: 0px 0px 5px 5px;
    font-weight: normal;
    padding-right: 10px;
}

.user-menu-wrapper .menu-list-selected {
    text-align: right;
    color: white;
    border: none;
    border-radius: 0;
    border-top: 1px solid white;
    width:100%;
}

.user-menu-wrapper .login-btn {
    background: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.no-touch .user-menu-wrapper #login {
    width:100%;
}

.user-menu-wrapper .caret {
    margin-left: 0px;
    margin-top: 8px;
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: top;
    border-top: 4px solid white;
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-left: 4px solid rgba(0, 0, 0, 0);
    content: "";
}

.user-menu-wrapper a {
    outline:none;
}

#login {
    right: 0;
    position: absolute;
    z-index: 99;
}
.mobile #login {
    display:none;
}
.login-btn {
    text-align: right;
    color: white;
    background: #4f849d;
    background:rgba(79, 132, 157, 0.7);
    padding: 4px 10px 7px 10px;
    border-radius: 0px 0px 5px 5px;
    white-space: nowrap;
}
.login-btn:hover, .login-btn.active {
    cursor:pointer;
    background-color:rgba(79, 132, 157, .9);
    z-index: 99;
    position: relative;
}

.login-btn a,
.login-btn a:hover,
.login-btn a:focus,
.login-btn a:active {
    text-decoration: none;
    color: white;
}

.icon-user {
    background-image: url('../images2/sprites-general.png');
    background-position: -3px -266px;
    background-repeat: no-repeat;
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: text-top;
    margin-top: 1px;
}
#top_header {overflow:visible;}
#login-dropdown {
    background-color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 1px 5px #333;
    -webkit-box-shadow: 0 1px 5px #333;
    min-height: 120px;
    min-width: 268px;
    max-width: 640px;
    position: absolute;
    right: 0;
    top:0;
    z-index:98;
}
#login-dropdown p {line-height:1.2; font-size:13px; margin-bottom:5px}
#login-dropdown p.smaller {font-size: smaller}
#login-dropdown p.user-email {overflow:hidden; text-overflow:ellipsis;}
#login-dropdown.wide {width:640px}
#login-dropdown.sml {width:268px}
#login-dropdown form,
#login-dropdown .wrapper {
    cursor: pointer;
    padding: 30px 20px 20px 20px;
    text-align: left;
    width: auto;
}
#login-dropdown form {padding-right:30px;}
#login-dropdown .newAccount {
   padding-top: 0;
}

#login-dropdown .social-logins {
    margin-top: 2em;
}
/* .login-link is the sign-in link form, which sits above the password one and
   is not inside .login. Without it the address box renders at the browser
   default width over a full-width one, which reads as the broken half. */
.login input[type=email],
.login-link input[type=email],
#login-dropdown input[type=password]  {
    width:94%;
}
#login-dropdown .info-panel {
    float:left;
    width: 310px;
    height: 100%;
    padding: 0 30px 0 0;
    border-right: 1px solid #DEDEDE;
    margin: 30px 10px 30px 30px;
}
#login-dropdown .login-panel {
    width:250px;
    float:right;
}
#login-dropdown .login-panel input[type="submit"] {
    display: block;
    width: 100%;
}
#login-dropdown .pw-reset {
    padding: 30px 30px 20px 20px;
}
#login-dropdown .pw-reset form {
    padding:0;
}
.pw-reset h1 {
    color: #4f849d;
    font-size: 1.5em;
    line-height: 1.15em;
}
.pw-reset-email {
    width:100%;
}
.info-panel .user-block {
    margin-bottom:16px;
    padding-bottom:20px;
    border-bottom:1px solid #dedede;
    margin-left:0;
}
/* modify 'logged-in user menu' style inside drop-down */
.user_nav_menu {
  list-style: none;
  margin:0;
}

.review-alert-icon {
    display: none;
}

.user-can-leave-review .review-alert-icon {
    display: inline-block;
    margin-left: .5em;
    vertical-align: middle;
}

#login-dropdown .user_nav_menu li a {
    display: block;
    padding-top:5px;
    padding-bottom:6px
}
/* user nav styles - also used on user portal, as well as login menu */
.user_nav-item {
    position: relative;
    padding: 0 12px 0 15px;
    font-size: 16px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    text-shadow: 0 1px 0 white;
    text-decoration: none;
    color:#555;
    border-top: 1px solid white;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background-color: #eeeeee;
}
.user_nav-item:hover,
.selected .user_nav-item, .user_nav-item:active {
    color: #555;
    font-weight: normal;
    background: white;
    border-top-color: #ccc;
    border-bottom-color: #ccc;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-left:20px;
    border-left:3px solid #37B348;
    text-decoration: none !important;
}

.selected .user_nav-item {
    border-right: 1px solid white;
    pointer-events: inherit !important;
    cursor: pointer !important;
}
.selected .user_nav-item .user_nav-counter,
.user_nav-item:active .user_nav-counter {
    background: #37B348;
    color:white;
    text-shadow:none;
}
#login-dropdown .user_nav-item:hover,
#login-dropdown .selected .user_nav-item,
#login-dropdown .user_nav-item:active {
    padding-left: 15px;
    text-decoration: none !important;
}

.selected .user_nav-item,
.selected .user_nav-item:hover {
    pointer-events: none;
    cursor: default;
}
.user_nav-counter {
    float: right;
    margin-top: 8px;
    padding: 0 6px;
    line-height: 18px;
    font-size: 11px;
    background: #eee;
    border-radius: 9px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.2);
}
#login-dropdown .user_nav-counter {
    margin-top:2px;
}

@media  only screen and (-webkit-min-device-pixel-ratio: 1.5),
        only screen and (-o-min-device-pixel-ratio: 3/2),
        only screen and (min--moz-device-pixel-ratio: 1.5),
        only screen and (min-device-pixel-ratio: 1.5) {

            .icon-user.xsprite{
               background-image:url('../images2/sprites-general.x2.png');
                    -moz-background-size:600px 600px;
                     -ie-background-size:600px 600px;
                      -o-background-size:600px 600px;
                 -webkit-background-size:600px 600px;
                         background-size:600px 600px;
            }
}
