*, *:before, *:after {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    background: #fffbf8;
    font-family: sans-serif;
}

/* LINKS */
a {
    text-decoration: none;
    color: #961914;
    transition: .5s ease;
}
a:hover {
    color: #7d1411;
}

/* CONTENEDOR FORM */
.form {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* TABS */
.tab-group {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.tab-group:after {
    content: "";
    display: table;
    clear: both;
}
.tab-group li a {
    display: block;
    padding: 15px;
    background: rgba(150, 25, 20, 0.1);
    color: #961914;
    font-size: 20px;
    float: left;
    width: 50%;
    text-align: center;
    cursor: pointer;
    transition: .5s ease;
}
.tab-group li a:hover {
    background: #961914;
    color: #ffffff;
}
.tab-group .active a {
    background: #961914;
    color: #ffffff;
}

.tab-content > div:last-child {
    display: none;
}

/* TITULO */
h1 {
    text-align: center;
    color: #000000;
    font-weight: 400;
    margin: 0 0 40px;
}

/* LABELS */
label {
    position: absolute;
    transform: translateY(6px);
    left: 13px;
    color: #000000;
    transition: all 0.25s ease;
    pointer-events: none;
    font-size: 18px;
}

label.active {
    transform: translateY(-20px);
    font-size: 13px;
}

label.highlight {
    color: #000000;
}

label .req {
    margin-left: 4px;
    color: #961914;
}

/* INPUTS */
input,
textarea {
    font-size: 16px;
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.9);
    border: 2px solid #961914;
    color: #000000;
    border-radius: 4px;
    transition: all .25s ease;
}


input:focus,
textarea:focus {
    outline: none;
    border-color: #961914;
    box-shadow: 0 0 0 1px rgba(150,25,20,0.2);
}

/* PLACEHOLDERS */
::placeholder {
    color: rgba(150, 25, 20, 0.55);
}

::-webkit-input-placeholder {
    color: rgba(150, 25, 20, 0.55);
}

:-ms-input-placeholder {
    color: rgba(150, 25, 20, 0.55);
}

::-ms-input-placeholder {
    color: rgba(150, 25, 20, 0.55);
}

/* TEXTAREA */
textarea {
    resize: vertical;
}

/* CAMPOS */
.field-wrap {
    position: relative;
    margin-bottom: 35px;
}

/* ROWS */
.top-row:after {
    content: "";
    display: table;
    clear: both;
}
.top-row > div {
    float: left;
    width: 48%;
    margin-right: 4%;
}
.top-row > div:last-child {
    margin-right: 0;
}

/* SELECT */
.select_panel {
    background-color: transparent;
    color: #000000;
    height: 51px;
    padding: 9px 12px;
    border: 1px solid #b5b5b5;
    font-size: 16px;
    width: 100%;
}

option {
    color: #000000;
    background-color: #ffffff;
}

/* BOTON */
.button {
    border: none;
    padding: 16px 0;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: #961914;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover,
.button:focus {
    background: #7d1411;
}

.button-block {
    display: block;
    width: 100%;
}

/* OLVIDE CONTRASEÑA */
.forgot {
    margin-top: -15px;
    text-align: right;
}
