/* Google reCAPTCHA styling fix for the 2016 theme */
#recaptcha_table {
	table-layout:auto !important;
}


.wpcf-nd-error-message {
    display: block;
    border: 1px solid #ccc;
    padding: 5px;
    color: red;
}


.wpcf_wrapper p {
	margin-top:10px;
}

#wpcf_nd input,
#wpcf_nd textarea {
    width: 100%;
}

#wpcf_nd .radio-group input,
#wpcf_nd .checkbox-group input {
    width: auto;
}

/* Integration with WP Live Chat Support */

#wp-live-chat-inner .wpcf_wrapper {
    display: block;
    height: 80%;
    overflow: auto;
    position: fixed;
}

#wp-live-chat-2 .wpcf_wrapper input {
	width: auto !important;
}

.g-recaptcha { margin-top:10px; }

.wpcf_nd label {
    position: relative;
}

.fb-radio-group, .fb-checkbox-group {
    margin: 0;
    padding: 0;
    border: none;
}

/*
 * Modal mode
 */
.wpcf-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease-in-out;
    background: rgba(0,0,0,.8);
}

.wpcf-modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

.wpcf-modal .wpcf_wrapper {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 20px;
    background: #fff;
}

.wpcf-modal .header {
    padding-top: 0;
}

.wpcf-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    transition: transform ease-in-out .2s !important;
    padding: 7px 13px;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #222;
    font-size: 21px;
    text-decoration: none !important;
}

.wpcf-modal__close:after {
    position: relative;
    content: '✖';
}

.wpcf-modal__close:hover {
    transform: rotate(180deg);
}

.gdpr_input {
    display: inline-block;
    float: left;
    width: auto !important;
    margin-top: 5px;
    margin-right: 10px;
}

.gdpr_label {
    font-size: 13px;
    font-weight: 400;
}