.dtq-cf7-styler * {
    box-sizing: border-box;
}

.dtq-cf7-styler .wpcf7 form {
    position: relative;
}

.dtq-cf7-styler .wpcf7-form .wpcf7-submit {
    display: block !important;
}

.dtq-cf7-styler .wpcf7 form > div,
.dtq-cf7-styler .wpcf7 form > p {
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.dtq-cf7-styler .wpcf7 .dtq-cf7-styler .wpcf7-control-wrap {
    width: 100%;
    display: block;
}

.dtq-cf7-styler .wpcf7 input:not([type="submit"]):focus,
.dtq-cf7-styler .wpcf7 select:focus,
.dtq-cf7-styler .wpcf7 textarea:focus {
    border-color: #eaeaea;
    outline: 0;
    box-shadow: none;
}

.dtq-cf7-styler
    .wpcf7
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.dtq-cf7-styler .wpcf7 select,
.dtq-cf7-styler .wpcf7 textarea {
    width: 100%;
    max-width: 100%;
}

.dtq-cf7-styler .wpcf7 input[type="file"] {
    color: #666;
    height: auto;
    border-width: 1px;
    border-style: solid;
    border-color: #eaeaea;
    background: #fafafa;
    box-shadow: none;
    transition: all 0.2s linear;
    border-radius: 2px;
    box-sizing: border-box;
}

.dtq-cf7-styler.dtq-cf7-styler-cr .wpcf7 input[type="checkbox"],
.dtq-cf7-styler.dtq-cf7-styler-cr .wpcf7 input[type="radio"] {
    display: inline-block;
    position: relative;
    visibility: hidden;
    clear: none;
    cursor: pointer;
    line-height: 0;
    height: 1.2em;
    margin: -3px 4px 0 0;
    outline: 0;
    padding: 0;
    border-radius: 0.2em;
    text-align: center;
    vertical-align: middle;
    width: 1.4em;
    min-width: 1.4em;
    transition: all 0.2s linear;
}

.dtq-cf7-styler input[type="range"] {
    background: 0 0 !important;
    border: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-acceptance
    input[type="checkbox"]
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-acceptance
    input[type="checkbox"]:checked
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-checkbox
    input[type="checkbox"]
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-checkbox
    input[type="checkbox"]:checked
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-radio
    input[type="radio"]
    + span:before {
    box-sizing: content-box;
}

.dtq-cf7-styler.dtq-cf7-styler-cr .wpcf7-acceptance input[type="checkbox"],
.dtq-cf7-styler.dtq-cf7-styler-cr .wpcf7-checkbox input[type="checkbox"],
.dtq-cf7-styler.dtq-cf7-styler-cr .wpcf7-radio input[type="radio"] {
    display: none;
}

.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-checkbox
    input[type="checkbox"]
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-acceptance
    input[type="checkbox"]
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-radio
    input[type="radio"]:not(:checked)
    + span:before {
    background-color: #ffffff;
}

.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-checkbox
    input[type="checkbox"]
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-acceptance
    input[type="checkbox"]
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-radio
    input[type="radio"]
    + span:before {
    border-width: 1px;
    border-style: solid;
    border-color: #d1d8de;
    width: 14px;
    height: 14px;
}

.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-radio
    input[type="radio"]:checked
    + span:before {
    box-shadow: inset 0px 0px 0px 4px #fff;
}

.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-radio
    input[type="radio"]
    + span:before {
    -webkit-border-radius: 100%;
    border-radius: 100%;
    background-color: #d1d8de;
}

.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-acceptance
    input[type="checkbox"]
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-checkbox
    input[type="checkbox"]
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-radio
    input[type="radio"]
    + span:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    text-align: center;
}

.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-acceptance
    input[type="checkbox"]:checked
    + span:before,
.dtq-cf7-styler.dtq-cf7-styler-cr
    .wpcf7-checkbox
    input[type="checkbox"]:checked
    + span:before {
    content: "\2714";
    line-height: 1.2;
}

.dtq-cf7-styler-button-center input.wpcf7-form-control.wpcf7-submit,
.dtq-cf7-styler-button-justify input.wpcf7-form-control.wpcf7-submit,
.dtq-cf7-styler-button-left input.wpcf7-form-control.wpcf7-submit,
.dtq-cf7-styler-button-right input.wpcf7-form-control.wpcf7-submit {
    display: -webkit-box;
    display: -ms-flexbox;
    -js-display: flex;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: auto;
}

.dtq-cf7-styler .wpcf7 input[type="submit"] {
    font-size: 14px;
    letter-spacing: 0.6px;
    width: auto;
    font-size: 16px;
    padding: 10px 22px 10px 22px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border-style: solid;
    border-color: #2ea3f2;
    color: #fff;
    background-color: #2ea3f2;
    -webkit-appearance: button;
    cursor: pointer;
}

.dtq-cf7-styler .wpcf7 div.wpcf7-response-output {
    margin: 0;
}

.dtq-form-header {
    display: flex;
    align-items: center;
}

.dtq-form-header-icon,
.dtq-form-header-image {
    position: relative;
    display: flex;
    flex: auto 0 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 20px;
    border-radius: 50% 50%;
}

.dtq-form-header-title {
    font-size: 32px;
    font-weight: 600;
}

.dtq-form-header-text {
    margin-top: 8px;
    opacity: 0.7;
    font-size: 15px;
}

.dtq-cf7-styler-button-center .wpcf7-form input[type="submit"],
.dtq-cf7-styler-button-center .wpcf7-form button.wpcf7-submit {
    margin-left: auto !important;
    margin-right: auto !important;
}

.dtq-cf7-styler-button-right .wpcf7-form input[type="submit"],
.dtq-cf7-styler-button-right .wpcf7-form button.wpcf7-submit {
    margin-left: auto !important;
}

.dtq-cf7-styler-button-left .wpcf7-form input[type="submit"],
.dtq-cf7-styler-button-left .wpcf7-form button.wpcf7-submit {
    margin-right: auto !important;
}

.dtq-cf7 .wpcf7 input[type="submit"][disabled] {
    cursor: not-allowed;
}
