#cnt-form {
    margin: 2rem 0;
}

#form-content {
    display: block;
    background: #f9f9f9;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 3px;
}

#cnt-form-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

form fieldset {
    border: 0;
    margin-top: 2rem;
}

form fieldset legend {
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #121523;
}

form fieldset legend small {
    text-transform: none;
    font-weight: normal;
    font-size: 0.7rem;
}

.form-grid {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
}

input[type="text"],
textarea,
select,
label {
    border: 2px;
    border-style: solid;
    border-color: #dedede;
    border-radius: 3px;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    font-size: 1.001rem;
    display: block;
    background-color: #fff;
    transition: border-color 0.3s, background-color 0.3s ease-out;
    color: #121523;
    font-family: 'Open Sans', sans-serif;
}

input[type="text"],
textarea,
select {
    width: 100%;
}

input[type="text"],
select {
    height: 2.8rem;
    line-height: 2.5rem;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
    outline: none;
}

textarea {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    width: 100%;
    height: 12.5rem;
    resize: none;
}

input[type="text"]:focus,
textarea:focus,
input.active,
textarea.active {
    border-color: #6acfeb;
    color: #121523;
}

input[type="text"].err,
textarea.err {
    color: #ff0000;
    border-color: #ff0000;
}

div.err {
    color: #ff0000;
}

#cnt-form .form-grid {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 15px;
}

#cnt-form label {
    display: none;
}

#cnt-form-submit {
    margin-top: 1rem;
    text-align: center;
}

#btn-form-submit {
    margin-top: 10px;
}

.msg-error {
    display: none;
    color: #ff0000;
    padding: 5px 0;
    /*font-size: 0.8rem;*/
}

.g-recaptcha {
    margin: 1rem 0;
}

.g-recaptcha > div {
    margin: 0 auto;
}

.consent-container {
    margin-top: 2rem;
}

/* -------------- */
#form-2 .form-grid {
    grid-template-columns: 1fr 1fr 1fr;
}

#form-2 .form-item {
    display: table;
    width: 100%;
    height: 115px;
}

#form-2 .form-item.size-2 {
    height: 80px;
}

#form-2 label {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    cursor: pointer;
    /*color: #7d7d7d;*/
}

#form-2 label:not(.active):hover {
    border-color: #4fcdf7;
}

#form-2 label:active {
    color: #fff;
    background-color: #121523;
}

#form-2 input[type="checkbox"],
#form-2 input[type="radio"] {
    display: none;
}

#form-2 label.active {
    border-color: #4fcdf7;
    background-color: #4fcdf7;
    color: #fff;
}

#cnt-f-q1-6-txt,
#cnt-f-q3-6-txt,
#cnt-f-q4-6-txt {
    display: none !important;
    height: auto !important;
    margin-top: 15px;
}


#cnt-f-q1-6-txt.show,
#cnt-f-q3-6-txt.show,
#cnt-f-q4-6-txt.show {
    display: block !important;
}

#cnt-f-q1-6-txt label,
#cnt-f-q3-6-txt label,
#cnt-f-q4-6-txt label {
    display: none;
}


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

@media only screen and (max-width: 750px) {
    #form-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #cnt-form #form-1 .form-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 550px) {
    #cnt-form #form-2 .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    #cnt-form #form-2 .form-item {
        height: 90px;
    }
}

@media only screen and (max-width: 400px) {
    #cnt-form #form-2 .form-grid {
        grid-template-columns: 1fr;
    }

    #cnt-form #form-2 .form-item {
        height: 70px;
    }
}