/* Form styles */

.proposal {
    padding: 60px 0;
}

.proposal .intro {
    padding-right: 40px;
}

.proposal .intro p {
    line-height: 1.7;
    margin-bottom: 15px;
}

#proposal { overflow: hidden; }

#proposal .col-form {
    background-color: #eee;
    padding: 50px 0 50px 50px;
    position: relative;
    border-radius: 0;
    box-shadow: none;
}

#proposal .col-form::after {
    background-color: #eee;
    content: "";
    height: 5000px;
    position: absolute;
    right: -5000px;
    top: 0;
    width: 5000px;
    z-index: 0;
}

@media (max-width: 767px) {
    #proposal .col-form { padding: 20px 0; }
    #proposal .col-form::before {
        background-color: #eee;
        content: "";
        height: 5000px;
        left: -5000px;
        position: absolute;
        top: 0;
        width: 5000px;
        z-index: 0;
    }
}

.col-form {
    background: #eee;
    padding: 30px;
}

/* Dynamic form */
.form { z-index: 2; }

.form label {
    color: #3b3b3b;
    display: inline-block;
    font-weight: 400;
    margin-bottom: 5px;
    width: 100%;
}

.form .section-title {
    color: #2d9e9f;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.form .section { margin-bottom: 30px; margin-top: 30px; }

.form input { margin-top: 0; outline: none; }

.form input[type="text"],
.form select {
    background: #fff;
    border: 1px solid #424242;
    border-radius: 0;
    height: 45px;
    margin-bottom: 10px;
    padding: 0 12px;
    width: 100%;
}

.form .input-error { color: red; font-weight: 700; }

.form .input-select-group { display: flex; justify-content: space-between; }
.form .input-select-group.multiple select { margin-right: 15px; min-width: 100px; }

.input-radio-group { align-items: center; display: flex; justify-content: flex-start; }
.input-radio-group input { height: 20px; margin: 5px 5px 5px 0; width: 20px; }
.form .input-checkbox-group label, .form .input-radio-group label { margin-left: 5px; width: auto; }

.section-inputs { display: flex; flex-wrap: wrap; margin-left: -2%; margin-right: -2%; }
.form-group { margin-bottom: 25px; padding-left: 2%; padding-right: 2%; }
.form-group.w100 { width: 100%; }
.form-group.w50 { width: 50%; }
.form-group.w33 { width: 33.3333%; }

/* Array input */
.btn-add-array { background-color: transparent; border-top: none; border-right: none; border-left: none; border-image: initial; border-bottom: 2px solid #2a9594; box-shadow: none; color: #2a9594; font-size: 16px; font-weight: 700; margin-top: 10px; text-align: left; width: auto; }
.input-array-group { position: relative; }
.input-array-group button { background-color: #fff; border: 1px solid #424242; box-shadow: none; height: 45px; margin: 0; padding: 4px 0 0; position: absolute; right: 0; width: 50px; }
.input-array-group input { padding-right: 50px !important; }

/* Group/section */
.btn-more-group { background-color: #2d9ea0; border: none; border-radius: 8px; color: #fff; font-size: 16px; margin-bottom: 25px; padding: 15px 25px; }
.section-group legend { color: #3b3b3b; font-size: 24px; font-weight: 700; margin-left: -8px; padding: 0 8px; }
.section-group fieldset { border: 2px solid; border-radius: 5px; margin-bottom: 25px; padding: 25px; }
.btn-remove-group { background: transparent; border: none; margin-left: 10px; padding: 10px; }

/* Box selection */
.input-box-group { display: flex; justify-content: space-between; }
.input-box-col { border: 2px solid #ccc; flex: 1 1 0%; overflow: auto; }
.input-box-center, .input-box-col { height: 250px; }
.input-box-center { align-items: center; display: flex; flex-direction: column; justify-content: center; width: 60px; }
.input-box-center button { border: none; box-shadow: none; height: auto; margin-bottom: 10px; margin-left: 0; margin-top: 10px; padding: 0; width: auto; }
.input-box-col ul { list-style: none; margin: 0; padding: 0; }
.input-box-col button { background-color: #fff; border: none; box-shadow: none; color: #2b2b2b; font-size: 15px; height: auto; margin-bottom: 10px; margin-left: 10px; margin-top: 0; padding: 8px 15px; text-align: left; width: calc(100% - 20px); }
.input-box-col > ul > li > button { align-items: center; background-color: #2d9ea0; color: #fff; display: flex; font-weight: 700; justify-content: space-between; margin-left: 0; width: 100%; }
.input-box-col > ul > li > ul > li > button.selected { box-shadow: #2d9ea0 0 0 0 2px inset; color: #2d9ea0; transition: 0.4s; }
.input-box-col > ul > li > ul:not(.active) { display: none; }
p.input-box-message { font-size: 16px; margin-top: 20px; text-align: center; }

/* Ranking */
.input-box-ranking-option { align-items: stretch; background-color: #fff; cursor: grab; display: flex; margin-bottom: 10px; }
.ranking-position { align-items: center; background-color: #8374ab; color: #fff; display: flex; justify-content: center; width: 50px; }
.ranking-content { padding: 12px 0; }
.ranking.input-checkbox-group { margin: 15px 0 20px; }
.dragged .input-box-ranking-option { opacity: 0.25; }
.floating .input-box-ranking-option { background-color: #fff; box-shadow: #666 0 4px 20px; cursor: grab !important; }
.dl-item.floating { width: 85%; }
.drag-icon { margin-left: 8px; margin-right: 8px; opacity: 0.4; }
p.sublabel { font-size: 12px; line-height: 18px; }

.dynamic-form .form-group {
    margin-bottom: 18px;
}

.dynamic-form label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    color: #3b3b3b;
}

.dynamic-form input[type="text"],
.dynamic-form input[type="email"],
.dynamic-form input[type="tel"],
.dynamic-form textarea,
.dynamic-form select {
    width: 100%;
    border: 1px solid #424242;
    border-radius: 0;
    height: 45px;
    margin-bottom: 10px;
    padding: 0 12px;
    font-size: 14px;
    font-family: 'open_sans_hebrewregular', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.dynamic-form input:focus,
.dynamic-form textarea:focus,
.dynamic-form select:focus {
    border-color: #00acb0;
}

.dynamic-form textarea {
    min-height: 100px;
    resize: vertical;
    padding: 12px;
}

.dynamic-form input[type="checkbox"],
.dynamic-form input[type="radio"] {
    margin-right: 8px;
    height: auto;
}

button[type="submit"] {
    background-color: #bc0e27;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    padding: 15px 50px;
    cursor: pointer;
    transition: opacity 0.3s;
}

button[type="submit"]:hover {
    opacity: 0.85;
}

@media (max-width: 767px) {
    .form-group.w100, .form-group.w33, .form-group.w50 { width: 100%; }
    .input-box-col button { font-size: 12px; }
}

/* LGPD form */
.form-lgpd {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 25px 0;
    width: 100%;
}

.form-lgpd h2 {
    color: #3d3d3d;
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
}

.form-lgpd form {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.form-lgpd form input {
    border: 1px solid #424242;
    height: 50px;
    margin: 0 10px 15px;
    max-width: 320px;
    padding: 10px;
    width: 100%;
}

.form-lgpd form input:focus {
    border-color: #00acb0;
}

.form-lgpd form button {
    background-color: #2d9ea0;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    padding: 15px 50px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.form-lgpd form button:hover {
    opacity: 0.85;
}
