div.password-punch {
    display: block;
    padding: 15px;
    background-color: #FFF;
    border-radius: 4px;
    box-shadow: 0px 1px 5px rgba(0,0,0,.25);
    position: absolute;
    top: -53px;
    right: -213px;
    opacity: 0;
     transition: all 0.5s ease-in-out 0s;
     z-index: 9999;
     display: none;
}
input[type="password"]:focus ~ div.password-punch{
	opacity: 1;
     transition: all 0.5s ease-in-out 0s;
     display: block;
}
div.password-punch:before {
    position: absolute;
    top: 50%;
    left: -24px;
    content: '';
    width: 1px;
    height: 1px;
    border: 12px solid transparent;
    border-right: 11px solid #dcdcdc;
    margin-top: -12px;
}

div.password-punch:after {
    position: absolute;
    top: 50%;
    left: -20px;
    content: '';
    width: 1px;
    height: 1px;
    border: 10px solid transparent;
    border-right: 10px solid #FFF;
    margin-top: -10px;
}
 .rule-style-default {
    list-style: none;
    font-size: 12px;
    color: #9c9c9c;
    margin-bottom: 0;
    padding-left: 0;
}
 .rule-style-default li:before {
     content: "\f058";
     margin-right: 7px;
     font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-size: 10px;
}
 .rule-style-default li {
     width: 100%;
     line-height: 2;
     transition: all 0.8s ease-in-out 0s;
}
 .rule-style-default li.validated {
    color: #4e904e;
     transition: all 0.8s ease-in-out 0s;
}
 .rule-style-default li.validated:before {
    color: #4e904e;
     transition: all 0.8s ease-in-out 0s;
}
 .clearFix {
    clear:both;
}

 .password-punch-area {
     position: relative;
}


/* Medium */

@media (max-width: 767px) { 

    .rule-style-default {
        display: flex;
        flex-wrap: wrap;
    }
    .rule-style-default li {
        width: 100%;
    }
    div.password-punch {
        padding: 0;
        box-shadow: none;
        position: relative;
        top: 0;
        right: 0;
        height: 0;
        overflow: hidden;
    }
    div.password-punch:before,
    div.password-punch:after {
        display: none;
    }

    input[type="password"]:focus ~ div.password-punch {
        padding-top: 5px;
        height: auto;
    }
}

/* Small */
@media (max-width: 575px) {
    .rule-style-default li {
        width: 50%;
    }
}