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

html, body {
    background: #f0f2f5;
    font-family: 'Muli';
    font-size: 16px;
    color: #6f7077;
    padding: 0;
    margin: 0;
}
body {
    font-size: 100%;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

header {
    height: 96px;
    background: #fff;
}
header nav > a {
    font-size: 1.125rem;
    color: #40454b;
    font-weight: 600;
    text-decoration: none;
}
header nav > a:hover {
    color: #40386c;
    text-decoration: underline;
}
header nav > a i {
    color: #4bd174;
    margin-right: 15px;
}
header nav ul {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    padding: 10% 0 0 20%;
    z-index: 10;
}
header nav ul > a {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    color: #96979d;
    z-index: 101;
} 
header nav ul > a:hover {
    color: #40454b;
}
header nav ul li {
    margin-bottom: 2%;
}
header nav ul li a {
    font-size: 3.5rem;
    text-decoration: none;
    font-weight: 600;
    color: #40454b;
}
header nav ul li a:hover {
    color: #4bd174;
}
body.listar header nav ul {
    display: block;
}

.title {
    margin: 150px 0 160px;
}
h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin: 0;
}
h1 strong {
    color: #40454b;
    font-weight: 800;
    word-wrap: break-word;
}
p.sub {
    font-size: 1.125rem;
}

form {
    border-radius: 5px;
    box-shadow: 0 0 8px 0 rgba(34, 41, 51, 0.1);
    background-color: #fff;
    padding: 60px 60px 45px;
}

address {
    background: url('/img/mapa.png') center bottom no-repeat;
    font-style: normal;
    line-height: 1.5rem;
    height: 580px;
}
address > div {
    padding-left: 100px;
    position: relative;
    margin-bottom: 30px;
}
address i {
    font-size: 3rem;
    color: #4bd174;
    position: absolute;
    left: 20px;
    top: 2px;
    width: 60px;
    text-align: center;
}
address b {
    color: #40454b;
    font-size: 1.5rem;
    display: block;
    line-height: 3rem;
}

footer {
    height: 80px;
    background: #40386c;
    color: #fff;
    font-size: .875rem;
    margin-top: 200px;
}

/*FORMS*/

.texts {
    border-radius: 2px;
    background: none;
    border: none;
    position: relative;
    height: 56px;
    margin: 15px 0 0;
    display: block;
    width: 100%;
    padding: 0 15px;
    font-size: 16px;
    color: #40454b;
    font-weight: 800;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.texts:focus {
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05);
}
.texts.error {
    border-color: #fe0c47;
}

.texts.line {
    transition: padding-top 0.2s ease, margin-top 0.2s ease;
    overflow-x: hidden;
}
.texts.line.confirmed {
    padding: 17px 15px 0;
}
.texts.line + label {
    display: block;
    position: relative;
    white-space: nowrap;
    height: 0;
    border-top: solid 1px #b7babf;
    border-bottom: solid 1px transparent;
    transition: all 0.2s ease-out;
}
.texts.line:focus + label > span,
textarea.texts.line:focus + label > span,
.texts.line:not([value='']) + label > span {
    top: -48px;
    font-size: 12px;
    left: 2px;
}
.texts.line + label > span,
textarea.texts.line:invalid + label > span {
    font-weight: 300;
    margin: 0;
    position: absolute;
    color: #919799;
    font-size: 16px;
    top: -30px;
    left: 2px;
    transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.texts:focus {
    box-shadow: none;
}
.texts.line:focus + label {
    border-top: solid 1px #40386c;
    border-bottom: solid 1px #40386c;
}
.texts.line.error + label {
    border-top: solid 1px #fe0c47;
    border-bottom: solid 1px #fe0c47;
}
.texts.line.confirmed {
    padding-left: 2px;
    padding-right: 2px;
}

textarea.texts.line {
    height: 100px;
}
textarea.texts.line:focus + label > span, 
textarea.texts.line:not([value='']) + label > span {
    top: -100px;
}
textarea.texts.line + label > span {
    top: -82px;
}

/* RADIO */

input.radio {
	display: none;
}
input.radio + label {
	display: inline-block;
	position: relative;
    cursor: pointer;
    margin: 0 30px 0 27px;
}
input.radio:checked + label {
	color: #40454b;
}
input.radio + label:after {
    font-family: 'Font Awesome 5 Pro';
    content: '\f111'; 
	font-size: 18px;
	position: absolute;
	top: -1px;
	left: -27px;
    color: #96979d;
}
input.radio:checked + label:after {
    content: '\f192'; 
    color: #4bd174;
    font-weight: 400;
}
input.radio:checked + label {
    font-weight: 800;
}


input.radio:disabled + label:hover {
    cursor: not-allowed;
}

span.text-error {
    font-size: 10px;
    color: #fe0c47;
    overflow: hidden;
    display: block;
    line-height: 20px;
    transition: all 0.2s ease-out;
}
input.error + label + span.text-error {
    opacity: 1;
    max-height: 35px;
}
input + label + span.text-error {
    opacity: 0;
    max-height: 0;
}

/* BUTTON */

.button {
    display: inline-block;
    vertical-align: middle;
    margin: 30px 0 0;
    height: 64px;
    width: 240px;
    text-decoration: none;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    background: #4bd174;
    border-radius: 3px;
    color: #fff;
    transition: all 0.2s ease-out;
}
.button:hover {
    background: #12cb52;
    color: #fff;
    box-shadow: 0px 3px 5px 0 rgba(34, 41, 51, 0.3);
}

/* SEND */
.send {
    text-align: center;
}
.send i {
    display: block;
    position: relative;
    color: #4bd174;
    padding: 30px 0 60px;
    font-size: 6rem;
}
.send p {
    line-height: 1.5rem;
}

/* GRID */

.grid-container {
    max-width: 63rem;
}
.height-auto {
    height: 100%;
}



/* Medium */
@media (max-width:1020px) {
    html, body {
        font-size: 14px;
    }

    .title {
        margin: 100px 0 120px;
    }

    h1 {
        font-size: 3rem;
    }

    form {
        padding: 40px 40px 30px;
    }

    footer {
        margin-top: 100px;
    }
}

/* Small */
@media (max-width:640px) {
    header .logo {
        width: 80px;
    }
    header nav > a span {
        display: none;
    }

    header nav ul {
        padding: 20% 0 0 15%;
    }
    header nav ul li {
        margin-bottom: 4%;
    }
    header nav ul li a {
        font-size: 1.8rem;
    }

    .title {
        margin: 70px 0;
    }

    h1 {
        font-size: 2rem;
    }

    address {
        background: none;
        margin-top: 50px;
        height: auto;
    }

    footer {
        margin-top: 50px;
        text-align: center;
    }
}