
* {
    padding: 0;
    margin: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
}

body {
    background: #fff;
    font-family: "Ubuntu", helvetica;
}

a {
    text-decoration: none;
    color: #1ab188;
    transition: .5s ease;
    
    &:hover {
        color: darken(#1ab188,5%);
    }
}

.contenedor-formularios {
    background: #1ab18812;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px 4px rgba(#13232f,.3);
}

.contenedor-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    
    &:after {
        content: "";
        display: table;
        clear: both;
    }
  
    li a {
        display: block;
        text-decoration: none;
        padding: 15px;
        background: rgba(#a0b3b0,.25);
        color: #000000;
        font-size: 20px;
        float: left;
        width: 50%;
        text-align: center;
        cursor: pointer;
        transition: .5s ease;
        
        &:hover {
            background: darken(#1ab188,5%);
            color: #fff;
        }
    }
    
    .active a {
        background: #1ab188;
        color: #fff;
    }
}

.contenido-tab > div:last-child {
    display: none;
}


h1 {
    text-align: center;
    color: #000000;
    font-weight: 300;
    margin: 0 0 40px;
}

label {
    position: absolute;
    transform: translateY(0px);
    left: 13px;
    color: #0000003d;
    transition: all 0.25s ease;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
    font-size: 15px;
    
    .req {
        margin: 2px;
        color: #1ab188;
    }
}

label.active {
    transform: translateY(-15px);
    left: 2px;
    font-size: 10px;
    color: #000000;
    
    .req {
        opacity: 0;
    }
}

label.highlight {
    color: #000000;
}

input {
    font-size: 18px;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0px 10px;
    background: none;
    background-image: none;
    border: 1px solid #a0b3b0;
    border-top: none;
    border-left: none;
    border-right: none;
    color: #000000;
    border-radius: 0;
    transition: all 0.5s ease;
    border-radius: 5px;
    &:focus {
        outline: none;
        border-color: #1ab188;
    }
}

.contenedor-input {
    position: relative;
    margin-bottom: 40px;
}

.fila-arriba {
    &:after {
        content: "";
        display: table;
        clear: both;
    }

    div {
        float: left;
        width: 48%;
        margin-right: 4%;
        
        &:last-child { 
            margin: 0;
        }
    }
}

.button {
    border: 0;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 15px 0;
    font-size: 2rem;
    background: #1ab188;
    color: #fff;
    transition: all .5s ease;
    -webkit-appearance: none;
    
    &:hover, &:focus {
        background: darken(#1ab188,5%);
    }
}

.button-block {
    display: block;
    width: 100%;
}

.forgot {
    margin-top: -20px;
    text-align: right;
    margin-bottom: 20px;
}


@media screen and (max-width: 500px) {
    .fila-arriba {
        div {
            width: 100%;

            &:last-child {
                margin-bottom: 40px;
            }
        }
    }
}

@media screen and (max-width: 400px) {
    .contenedor-tabs {
        li a {
            width: 100%;
        }
    }
}