/*	Frontend styles for Amnesty Members plugin
	version 1.3.1
*/

#aimembers-login {
    padding: 1em;
    max-width: 40em;
    border: 1px solid #d9d9d9;
    margin: 0 auto;
    line-height: 2.5em;
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 1em 1em #00000087;
}
#aimembers-login fieldset p {
    display: flex;
    flex-direction: row;
	flex-wrap:wrap;
    justify-content: space-between;
    margin-bottom: 0.5em;
}
#aimembers-login label {
    font-weight: 700;
    max-width: 14em;
    display: inline-block;
}
#aimembers-login legend {
    font-size: 1.2em;
}
#aimembers-login input {
    width: 100%;
    line-height: 1.5em;
    max-width: 20em;
    display: inline-block;
}
#aimembers-login input[type="submit"] {
    display: block;
    margin: 1em auto;
    padding: 0.8em;
    background-color: #000;
    color: #ff0;
    width: 15em;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s ease-out;
}
#aimembers-login input[type="submit"]:hover, 
#aimembers-login input[type="submit"]:focus-visible {
    background-color: #1c1c1c;
    color: #fff;
    box-shadow: 0 5px 5px yellow;
}
#ailogin-logo {
    width: 9em;
    height: 4em;
    background-repeat: no-repeat;
    background-color: #ff0;
    background-position: center;
    background-size: 8em auto;
    display: inline-block;
}
#aimember-post-title {
    width: 100%;
    height: 6em;
    position: relative;
    text-align: center;
    padding: 2em;
    min-height: calc(100vh - 33em);
    font-size: 2em;
}
#ailogin-title h2 {
    display: inline-block;
    max-width: 18.7em;
    vertical-align: baseline;
    margin-left: 0.3em;
    font-size: 1.5em;
    line-height: 1.3em;
}
.aierror {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px red solid;
    background-color: #f2b9b9;
    padding: 0 1em;
}
#aimembers-login fieldset p#ailogin-help {
    line-height: 1.2em;
    z-index: 100;
    position: absolute;
    background-color: #fff;
    display: block;
    box-shadow: #000 0px 3px 6px 0px;
    padding: 1em;
}
#ailogin-help-open::before {
    display: block;
    width: 2em;
    height: 2em;
    background: red;
    position: relative;
    content: '?';
    color: #fff;
    font-weight: 700;
    line-height: 2em;
}
#ailogin-help-close {
    display: inherit;
    color: yellow;
    background: #000;
    padding: 0.2em 0.3em;
    margin: 0 0 0 1.5em;
    float: right;
}
#ailogin-help-close::before {
    display: block;
    width: 1em;
    height: 1em;
    background: #000;
    position: relative;
    content: '×';
    color: yellow;
    font-weight: 700;
    line-height: 1em;
    font-size: 2em;
}
.aimembers-logged-in {
    position: fixed;
    top: 4.5em;
    right: 0;
    background: #000;
    z-index: 999;
    color: #fff;
    font-size: 1rem;
    max-width: 10rem;
    padding: 0.5rem 1rem;
    border: dotted yellow;
}
.aimembers-button {
    background-color: red;
    padding: 0.2rem 0.5rem;
    margin-top: 0.3rem;
    width: 100%;
}
.aimembers-button:hover, .aimembers-button:focus-visible {
    background-color: #b00;
    font-weight: bolder;
}
@media screen and (max-width:1199px) {
    .aimembers-logged-in {
        position: relative;
        top:0;
        max-width: unset;
        text-align: center;
    }
    .aimembers-button {
        width: 10em;
    }
}
/* style used for screenreaders - same as bootstrap */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}