.sqreem.pwmodal {
    position: absolute;
}

.sqreem.pwmodal .sq.modal {
    background-color: #2e2e2efa;
    transition: all 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sqreem.pwmodal .sq.modal:before {
    content: '';
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    background-image: url(http://squid.sqreem.com/squidjs/20180227/extensions/sq/images/pass.svg);
    background-repeat: no-repeat;
    background-position: 100% 95%;
    background-size: 40mm;
    filter: brightness(400%) grayscale(1);
    opacity: 0.2;
    z-index: -1;
}

.sqreem.pwmodal .sq.modal [name=content] {
    box-shadow: #060606 1px 2px 13px 3px;
}

.sqreem.pwmodal .sq.modal [name=header]>span {
    font-size: 7mm;
    color: #373636;
    padding-top: 2mm;
    padding-left: 2mm;
}

.sqreem.pwmodal .sq.modal>div[name=content] [name=close] {
    right: 2mm;
    font-size: 6mm;
    font-weight: bold;
    font-family: monospace;
    background-color: transparent;
    color: #a5a5a5;
    border: none;
}

.sqreem.pwmodal .sq.modal>div[name=content] [name=close]:hover {
    color: #373636
}

.sqreem.pwmodal .sq.modal [name=content] form {
    text-align: center;
    padding: 5mm 0;
    margin-bottom: 8mm;
}

.sqreem.pwmodal .sq.modal [name=content] form>span {
    display: inline-block;
    width: 40mm;
}

.sqreem.pwmodal .sq.modal [template=footer] {
    text-align: center;
}

.sqreem.pwmodal .sq.modal [template=footer] button {
    margin: 0 2mm;
    padding: 2mm 4mm;
    background-color: #2282ae;
    color: white;
    border: none;
    width: calc(50% - 6mm);
}

.sqreem.pwmodal .sq.modal button:hover {
    background-color: #3095c4;
}
.sqreem.pwmodal .sq.modal button[name=cancel] {
    background-color: #525252;
}
.sqreem.pwmodal .sq.modal button[name=cancel]:hover {
    background-color: #6d6c6c;
}

.sqreem.pwmodal .sq.modal  input {
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
    padding: 2mm;
    margin: 2mm;
    border: 1px solid #DDDDDD;
}

.sqreem.pwmodal .sq.modal input:focus {
    box-shadow: 0 0 5px rgb(34, 130, 174);
    border: 1px solid rgb(34, 130, 174);
}

.sqreem.pwmodal .sq.modal input:not(:placeholder-shown):invalid {
    box-shadow: 0 0 5px rgb(226, 89, 101);
    border: 1px solid rgb(222, 76, 89);
}