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

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

/* 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: 1.5em;
}
.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: 1.5em;
}
.am-auth-form input[type=submit] {
  line-height: 1.5em;
}
.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;
}
