@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*	font-family: Verdana; */
}

body {
    width: 100%;
    height: 100vh;
    /*		display: flex;
	justify-content: center; */
    align-items: center;
}

.form {
    width: 100%;
    height: 50px;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.form input {
    width: 100%;
    height: 100%;
    background: none;
    color: #fff;
    padding-top: 20px;
    border: none;
    outline: 0px;
}

.form .lbl-nombre {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-bottom: 1px solid #c7c7c7;
}

.form .lbl-nombre:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 100%;
    border-bottom: 3px solid #2ecece;
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.text-nomb {
    position: absolute;
    bottom: 5px;
    left: 0;
    transition: all 0.3s ease;
    color: #fff;
}

.form input:focus+.lbl-nombre .text-nomb,
.form input:valid+.lbl-nombre .text-nomb {
    transform: translateY(-150%);
    font-size: 14px;
    color: #2ecece;
}

.form input:focus+.lbl-nombre:after,
.form input:valid+.lbl-nombre:after {
    transform: translateX(0%);
}

@media only screen and (min-width:320px) and (max-width:768px) {
    .form {
        width: 85%;
    }
}


/* ********************************** */

.modal-backdrop.show {
    opacity: .9;
    filter: alpha(opacity=80);
    /* Para versiones anteriores de IE */
}

.modal-content {
    float: left;
}

.contenido-login .input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #d4bebe;
}

.contenido-login .input-div.campo {
    margin-top: 0;
}

.cc {
    color: #24cb07;
}

.i {
    color: #24cb07;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i i {
    transition: .3s;
}

.input-div>div {
    position: relative;
    height: 45px;
}

.input-div>div>h4 {
    position: absolute;
    left: 10px;
    top: -5px;
    transform: translateY(-50%);
    color: aqua !important;
    font-size: 13px;
    transition: .3s;
}

.input-div>div>h6,
.input-div>div>h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: aqua !important;
    font-size: 15px !important;
    transition: .3s;
}

.form-group>div>h6 {
    color: aqua !important;
}

.input-div.focus>div>h6 {
    top: -5px;
    font-size: 13px;
    padding: 0.5rem 0.7rem;
}

.input-div.focus>div>h4 {
    top: 15%;
    font-size: 13px;
}

.input-div:before,
.input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #24cb07;
    transition: .4s;
}

.input-div::before {
    right: 50%;
}

.input-div:after {
    left: 50%;
}

.input-div.focus:before,
.input-div.focus:after {
    width: 50%;
}

.input-div.focus>.i>i {
    color: #24cb07;
}

.input-div>div>input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 0.75rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.input {
    background-color: green;
    border: 2px solid #CB8B07;
    text-align: center !important;
}

.input-div.pass {
    margin-bottom: 4px;
}
.input-dark {
    text-align: center;
    padding: 6px;
    font-size: 14px;
    color: #fff;
    border: none;
    background-color: transparent;
    border-bottom: 2px solid #bbb;
    transition: border-color 0.3s ease;
}

.input-dark:focus {
    outline: none;
    border-bottom: 2px solid #38d553;
}

.input-dark::placeholder {
    color: #c5c5c5;
}