/* selected styles from  href="/signup/application/default/views/public/css/amember.css" */

.am-common {
  font-family: Tahoma, Arial, san-serif;
  color: #303030;
  font-size:16px;
}

/* Form Login */
.am-signup-login-form-container {
  z-index: 150;
  position: absolute;
  margin: 0 auto;
  width: 754px;
  background-color: white;
  border: solid 3px #ccc;
  padding: 20px;
}

.am-avatar-preview {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
}

.am-auth-form {
  margin-bottom: 1em;
  margin: 0 auto;
  max-width: 450px;
}
.am-auth-form form {
  box-shadow: 0 1px 3px #ddd;
}
@media all and (min-width: 500px) {
  .am-auth-form {
    width: 450px;
  }
}
.am-auth-form legend {
  text-indent: 0;
  text-align: center;
}
.am-auth-form div.element-title label {
  font-weight: normal;
}
.am-auth-form input[name=login],
.am-auth-form input[name=amember_login] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-image: url("/signup/application/default/views/public/img/icons/users.png");
  background-repeat: no-repeat;
  background-position: 5px center;
  padding-left: 30px;
  width: 100%;
  border-radius: 0;
  line-height: 2em;
  font-weight:bold;;
}
.am-auth-form input[name=amember_pass] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-image: url("/signup/application/default/views/public/img/icons/key.png");
  background-repeat: no-repeat;
  background-position: 5px center;
  padding-left: 30px;
  width: 100%;
  border-radius: 0;
  line-height: 2em;
}
.am-auth-form input[type=submit] {
  line-height: 2em;
}
.am-auth-form div.row {
  background: #f9f9f9;
  border-bottom: none;
}

.am-login-form-wrapper,
.am-sendpass-form-wrapper {
  margin-top: 2em;
}

.am-popup .am-login-form-wrapper,
.am-popup .am-sendpass-form-wrapper {
  margin-top: 0;
}
.am-popup .am-login-form legend,
.am-popup .am-sendpass-form legend {
  display: none;
}
.am-popup .am-login-form form,
.am-popup .am-sendpass-form form {
  border: none;
  box-shadow: none;
}
.am-popup .am-login-form .row,
.am-popup .am-sendpass-form .row {
  border: none;
}
.am-popup .am-login-form .row .element-title,
.am-popup .am-sendpass-form .row .element-title {
  background: none;
}
.am-popup .am-auth-form div.row {
  background: none;
}
.am-popup .am-form.am-auth-form {
  max-width: 300px;
}
.am-popup .am-form.am-auth-form div.element {
  margin: 0;
  padding: .5em;
}
.am-popup .am-form.am-auth-form div.element-title {
  width: auto;
  text-align: left;
  float: none;
  padding: .5em;
}

.am-sendpass-form-wrapper {
  display: none;
}

.am-form-login-switch {
  margin-left: 0.5em;
}
@media all and (max-width: 499px) {
  .am-form-login-switch {
    display: inline-block;
    margin: 1em 0 0;
  }
}

#am-form-login-remember {
  margin-top: 0.5em;
  display: block;
}

/* END Form Login */

.am-popup {
  margin: 0 auto;
  padding: 10px 20px 20px 20px;
  position: absolute;
  text-align: left;
  z-index: 10001;
  display: none;
  background-color: white;
  border-width: 3px 0;
  border-color: #ccc;
  border-style: solid;
  min-width: 320px;
  box-sizing: border-box;
}
@media all and (min-width: 321px) {
  .am-popup {
    border-width: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
  }
}
.am-popup .am-popup-close-icon {
  display: inline-block;
  float: right;
  text-decoration: none;
}
.am-popup .am-popup-close-icon:after {
  content: "\02A2F";
  color: #303030;
   /*font-size: 1.1rem;*/
  font-size: 1.1em;
}
.am-popup .am-popup-header {
   /*font-size: 1.1rem;*/
  font-size: 1.1em;
  font-weight: bold;
  overflow: hidden;
  margin: -10px -20px 1em -20px;
  background: #eee;
  padding: 1em;
}

/* add .am-auth-form to not affect my form inputs */
.am-auth-form input[name=amember_login]:focus,
.am-auth-form input[name=amember_pass]:focus {
  background-color: #ffffcf;
  border-color: #51a7e8;
  box-shadow: 0 0 2px #51a7e8;
  background-color:rgba(240, 246, 255, 0.9);
  color:#11243d;
}
#am-form-login-remember input {
    opacity:0.9;
}

/* From login.php claude avatar dropdown */
.am-popup, .am-popup .am-popup-header {
    /*
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    width:220px;
*/
    background:#11243d;
    xxxborder:0.5px solid rgba(91,163,217,0.25);
    xxxborder-radius:10px;
    xxxbox-shadow:0 8px 28px rgba(0,0,0,0.5);
    xxxpadding:8px;
    xxxz-index:1000;
    xxxopacity:0;
    xxxvisibility:hidden;
    xxxtransform:translateY(-6px);
    xxxtransition:opacity .15s,transform .15s,visibility .15s;
    font-family:'Inter',sans-serif;


    /* Added MJW */
    color: rgba(240,246,255,0.4);
}
.am-popup {
    /* postioned with inline style in aMember: top: 100px; left: 482px; transition: top 0.5s; display: block; */
    /*
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    width:220px;
   */
    right:0;
    width:220px;
    
    background:#11243d;
    border:0.5px solid rgba(91,163,217,0.25);
    border-radius:10px;
    box-shadow:0 8px 28px rgba(0,0,0,0.5);
    padding:8px;
    xxxz-index:1000;
    xxxopacity:0;
    xxxvisibility:hidden;
    xxxtransform:translateY(-6px);
    xxxtransition:opacity .15s,transform .15s,visibility .15s;
    xxxfont-family:'Inter',sans-serif;
}
.am-popup .am-popup-header {
    margin-left:0;
    margin-right:0;
    color:rgba(240, 246, 255, 0.5);
    border-bottom:1px solid rgba(240, 246, 255, 0.1);
}
.am-popup .am-popup-close-icon:after {
    color: unset;
}
/*.am-popup::before { content:''; position:absolute; top:-6px; right:12px; width:11px; height:11px; background:#11243d; border-left:0.5px solid rgba(91,163,217,0.25); border-top:0.5px solid rgba(91,163,217,0.25); transform:rotate(45deg); }*/
/* postioned with inline style in aMember: top: 100px; left: 482px; transition: top 0.5s; display: block; */
/*
magic happens in signup/application/default/views/public/js/user.js 
can set title, data-popup-height, data-popup-width in the link with 'ajax-link'
            var _top = jQuery(window).scrollTop() + 100;
            jQuery('body').append('<div id="mask"></div>').append($popup);
            $popup.css({
                top: _top - 50,
                left: jQuery('body').width()/2 - $popup.outerWidth(false)/2,
                transition: 'top 0.5s ease'
            });
            $popup.fadeIn(options.animation);
            $popup.css({
                top: _top,
            });
            $popup.find(".am-popup-close").unbind('click.popup').bind('click.popup', function(){
                $popup.css({top: _top - 50});
                $popup.fadeOut(options.animation, function() {
                    $parent.append($this.css('display', 'none'));
                    $this.unwrap();
                    jQuery(this).closest('.am-popup').remove();
                    jQuery("#mask").remove();
                    options.onClose.call();
                });
            });

*/
.am-popup::before { content:''; position:absolute; top:-9px; right:71px; width:11px; height:11px; background:#11243d; border-left:0.5px solid rgba(91,163,217,0.25); border-top:0.5px solid rgba(91,163,217,0.25); transform:rotate(45deg); }
