body {
    background-image: url("../images/background_contact.jpg");
    background-position-y: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 0;
    overflow-x: hidden;
}

.contact {
    padding-top: 28px;
    /* min-height: 60vh; */
}

.sent-message {
    max-width: 350px;
    margin: auto;
}

.sent-icon {
    width: 50%;
    margin: auto;
    display: block;
    margin-top: -24px;
    max-width: 140px;
}

.sent h3 {
    font-size: 1.4rem;
}

.sent p {
    font-size: .9rem;
}

#home-button {
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    padding: 10px;
    text-transform: none;
}

.form {
    border-radius: 15px;
    position: relative;
    z-index: 1;
    overflow: unset;
    box-shadow: 0 0 15px #2c2c2c27;
    padding: 45px 12vw;
    margin-top: 4vw;
    margin-bottom: 40px;
    /*  */
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .2);
    background-color: #1A0D5F;
    background-color: #00000041;
}

.blur {
    backdrop-filter: blur(5px);
}

/* ------------------------------ */

button {
    background-color: #5300c0;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid #6a00e2;
    width: 50%;
    margin: 0 25%;
    margin-top: 15px;
    padding: 15px;
    border-radius: 2px;
    transition: all 0.2s;
}

button:hover {
    background-color: #7f2bec;
}

button:focus {
    outline: 1px solid white;
    border: 1px solid white;
}

textarea:focus {
    height: 80px;
}

form h4 {
    margin-bottom: 3rem;
    font-size: 1.5rem;
}

/* */

.form-group {
    position: relative;
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
}

.form-group input {
    height: 1.9rem;
}

.form-group textarea {
    resize: none;
}

.form-group .control-label {
    position: absolute;
    top: 0.25rem;
    pointer-events: none;
    z-index: 1;
    font-size: 1rem;
    font-weight: normal;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
}

.form-group .control-label, label.field {
    color: #c7c5c5;
    color: #ffffffa1;
}

.form-group .bar {
    position: relative;
    border-bottom: 0.0625rem solid #e6e6e6;
    display: block;
}

.form-group .bar::before {
    content: '';
    height: 0.125rem;
    width: 0;
    left: 50%;
    bottom: -0.0625rem;
    position: absolute;
    background: #b2f31b;
    -webkit-transition: left 0.28s ease, width 0.28s ease;
    transition: left 0.28s ease, width 0.28s ease;
    z-index: 2;
}

.form-group input, .form-group textarea {
    display: block;
    background: none;
    padding: 0.125rem 0.125rem 0.0625rem;
    font-size: 1rem;
    border-width: 0;
    border-color: transparent;
    line-height: 1.9;
    width: 100%;
    color: transparent;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
    box-shadow: none;
}

.form-group input[type="file"]~.bar {
    display: none;
}

.form-group select, .form-group input:focus, .form-group input:valid, .form-group input.form-file, .form-group input.has-value, .form-group textarea:focus, .form-group textarea:valid, .form-group textarea.form-file, .form-group textarea.has-value {
    color: #fff;
}

.form-group select~.control-label, .form-group input:focus~.control-label, .form-group input:valid~.control-label, .form-group input.form-file~.control-label, .form-group input.has-value~.control-label, .form-group textarea:focus~.control-label, .form-group textarea:valid~.control-label, .form-group textarea.form-file~.control-label, .form-group textarea.has-value~.control-label {
    font-size: 0.8rem;
    color: gray;
    top: -1rem;
    left: 0;
}

.form-group select:focus, .form-group input:focus, .form-group textarea:focus {
    outline: none;
}

.form-group select:focus~.control-label, .form-group input:focus~.control-label, .form-group textarea:focus~.control-label {
    color: #b2f31b;
}

.form-group select:focus~.bar::before, .form-group input:focus~.bar::before, .form-group textarea:focus~.bar::before {
    width: 100%;
    left: 0;
}

/* */

/* */

form .field {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

* {
    transition-duration: .2s;
    transition-property: none;
    transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

label.field {
    border-radius: 2px;
    display: block;
    margin: 2.25rem 0;
    padding: 8px 0;
    opacity: 1;
    position: relative;
    transition-property: opacity;
    z-index: 2;
}

label.field:first-of-type {
    z-index: 3;
}

label.field span {
    color: inherit;
    display: block;
    font-size: 16px;
    height: 20px;
    line-height: 20px;
    pointer-events: none;
    position: absolute;
    top: 8px;
    transform: scale(1) translateY(0);
    transition-property: color, font-size, top;
    z-index: 1;
}

label.field span.required::after {
    color: inherit;
    content: "*";
    display: block;
    height: 20px;
    left: -20px;
    line-height: 20px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 20px;
}

.error label.field span {
    color: #F02318;
}

label.field .pseudo_select {
    background: rgba(255, 255, 255, 0);
    position: relative;
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 0 0 1px 0;
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-size: 15px;
    height: 24px;
    line-height: 24px;
    margin: 0;
    padding-top: 24px;
    outline: 0;
    z-index: 1;
}

label.field .pseudo_select::after {
    background: url("../images/icons/icon-triangle.png");
    background-size: 10px;
    background-repeat: no-repeat;
    content: "";
    height: 10px;
    width: 20px;
    position: absolute;
    top: 0;
    right: 0;
    transition-property: background;
    z-index: 50;
}

label.field .pseudo_select .selected {
    height: 24px;
    left: 0;
    line-height: 24px;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: translateY(24px);
    transition-property: opacity, transform;
    will-change: transform;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 92%;
}

label.field .pseudo_select ul {
    background: #f1f1f1;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
    display: block;
    height: 0;
    max-height: 300px;
    list-style: none;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    overflow-y: scroll;
    padding: 0 1px;
    pointer-events: none;
    transition-property: height, opacity;
    width: 100%;
    z-index: 2;
}

label.field .pseudo_select ul li {
    min-height: 34px;
    padding: 5px;
    padding-left: 30px;
    color: #141414;
    transition: all 0.2s;
}

label.field #assunto ul li {
    padding-left: 20px;
}

label.field .pseudo_select ul li:hover {
    background-color: #97d30c;
}

label.field .deselect {
    width: 100vw;
    height: 100%;
    top: 0;
    left: calc(-45vw + 300px);
    position: fixed;
    z-index: -1;
}

label.field .pseudo_select ul .disabled {
    cursor: default;
    font-size: 1.1rem;
    color: #89c203;
    padding-left: 15px;
    background-color: #e0e0e0;
}

label.field .pseudo_select ul .disabled:hover {
    background-color: #e0e0e0;
}

label.field.focused {
    color: #b2f31b;
}

label.field.focused .pseudo_select {
    border-color: #b2f31b;
}

label.field.focused .pseudo_select ul {
    opacity: 1;
    pointer-events: all;
}

#unidades {
    max-height: 208px;
    overflow-y: scroll;
}

.focused {
    z-index: 4 !important;
}

.popover.show {
    overflow-y: initial;
}

.popover .warning {
    font-style: normal;
    font-size: 1.1em;
    font-weight: 400;
    padding: 15px 5px;
}
.popover .warning::before {
    font-family: icomoon;
    content: "\ea08";
    margin-right: 5px;
    color: #f19d00;
}


input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus {
    -webkit-text-fill-color: rgb(255, 255, 255);
    -webkit-box-shadow: 0 0 0px 1000px #00000027 inset;
    box-shadow: 0 0 0px 1000px #00000027 inset;
    transition: background-color 5000s ease-in-out 0s;
}

@media (min-width: 576px) {
    .form {
        padding: 80px 120px;
        margin-bottom: 80px;
    }
    .form.sent {
        padding: 80px;
    }
    label.field .pseudo_select ul li {
        padding-left: 40px;
    }
    .sent p {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .form {
        margin-top: 40px;
    }
    .sent h3 {
        font-size: 1.8rem;
    }
    .sent p {
        max-width: 180px;
    }
    .sent-icon {
        width: 84%;
        margin: auto;
        /* margin-right: 0; */
        max-width: initial;
    }
    #home-button {
        width: 90%;
    }
}

@media (max-width: 380px) {
    form h4 {
        font-size: 6vw;
    }
}