/* === Terms === */
#ibterms.wrapper {
    min-height: calc(100vh - 291px);
}

/* TODO: potential for usage in entire site as general rule adding hyphens as well  */
#ibterms a,
#ibterms p {
    overflow-wrap: break-word;
    word-wrap: break-word;

    /* Compatibility  */
    -ms-word-break: break-all;
    word-break: break-word;

    /* Adds a hyphen if available/supported */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* === Copyright Notice Form === */

.privacy #noticeForm ul li:before {
    display: none;
}

#noticeForm ul {
    padding: 0;
    list-style-type: none;
}

#noticeForm ul li > *:not(h3) {
    margin-left: 20px;
}

#noticeForm ul.bullet {
    margin-bottom: 20px;
}

#noticeForm ul.bullet li {
    display: flex;
    align-items: center;
    line-height: normal;
}

#noticeForm textarea.noticeform_input {
    width: 96%;
    height: 60px;
}

#noticeForm textarea {
    min-height: 98px;
    margin-bottom: -6px;
}

#noticeForm .margin-bottom {
    margin-bottom: 10px;
}

#noticeForm .section-row {
    display: flex;
    align-items: center;
    height: 60px;
    margin-bottom: 5px;
}

#noticeForm .section-row .noticeform_input,
#noticeForm textarea {
    padding: 11px 24px;
    border: 0;
    border-radius: 5px;
    background-color: #f5f5f5;
}

#noticeForm .section-row label {
    width: 15%;
    min-width: 220px;
    display: inline-block;
}

#noticeForm #noticeForm_signature {
    width: 30%;
    min-width: 400px;
    min-height: 80px;
    margin: 0;
}

#noticeForm .section-row.message {
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: center;
    justify-content: center;
}

#noticeForm p.list {
    margin: 0;
}

#noticeForm .last-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

#noticeForm #noticeForm_submit {
    display: block;
    margin: auto;
}

#noticeForm .required_error {
    display: none;
    color: #dc2c1a;
    order: 3;
    width: 0;
    margin: 0 0 0 15px;
}

#noticeForm .section-row .required_field_error,
#noticeForm .last-row .required_field_error {
    border: 1px solid #dc2c1a;
}

#noticeForm .contact-form-success {
    background-color: #e9f3d2;
    position: relative;
    margin-bottom: 1rem;
    border: 1px solid #acd556;
    border-radius: .25rem;
}

#noticeForm .contact-form-success li {
    color: #92b750;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
}

#noticeForm .contact-form-errors {
    background-color: #fff7f7;
    position: relative;
    margin-bottom: 1rem;
    border: 1px solid #dc2c1a;
    border-radius: .25rem;
}

#noticeForm .contact-form-errors li {
    color: #dc2c1a;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
}

#noticeForm input,
#noticeForm textarea {
    font-size: 16px;
}

/* === Privacy Contact Form === */

#privacy .privacy-form .hidden-form,
#privacy .privacy-form .hidden-link {
    display: none;
}

#privacy .privacy-form .recaptcha-container {
    margin: 0 0 40px 0;
}

#privacy label.error {
    display: none !important;
}

#privacy .text-container {
    margin: 20px 0 40px 0;
}

#privacy .text-container div {
    font-family: 'ProximaNova';
    font-size: 16px;
    margin: 0 0 20px 0;
}

#privacy .text-container div a {
    font-size: 16px;
}

#privacy .user-message .success {
    background: #e9f3d2;
    position: relative;
    border: 1px solid #acd556;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 20px;
    text-align: center;
    color: #92b750;
}

#privacy .user-message .alert {
    background: #ffe9e9;
    position: relative;
    border: 1px solid #e7a9a9;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 20px;
    text-align: center;
    color: #dc2c1a;
}

#privacy-footer #ot-sdk-btn {
    text-decoration: underline;
}

@media only screen and (max-width: 800px) {
    #main.notice-form {
        padding: 27.5px 0 100px 0;
    }

    #noticeForm .wrapper {
        width: calc(100% - 50px);
        margin: 0 25px;
    }

    #noticeForm ul li > *:not(h3) {
        margin-left: 0;
    }

    #noticeForm .section-row {
        display: list-item;
        height: auto;
        margin-bottom: 10px;
    }

    #noticeForm .section-row .noticeform_input,
    #noticeForm textarea.noticeform_input,
    #noticeForm #noticeForm_signature {
        width: 100%;
        min-width: 0;
    }

    #noticeForm .last-row {
        display: list-item;
    }

    #noticeForm .section-row input {
        margin: 0;
    }

    #noticeForm #noticeForm_signature {
        margin: 0;
    }
}

@media only screen and (max-width: 1070px) {
    #noticeForm .required_error {
        float: right;
        width: auto;
    }
}