@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0 !important;
    font-family: 'Open Sans', 'sans-serif' !important;
}

form.form input.text {
    max-width: 250px;
    width: 96% !important;
}

form.form {
    padding: 0 !important;
    margin: 0 !important;
}

form.form p.submit input {
    padding: 2px 12px;
}

form.form p .description {
    padding-bottom: 8px;
    display: block;
    font-size: 12px;
}

ul {
    padding: 0;
}

li {
    list-style-type: none;
}

form.form p.submit {
    margin: 0;
    order: 10;
}

p.submit input {
    font-size: 14px;
    color: white;
    background-color: #EA443A;
    border: 3px solid #EA443A;
    border-radius: 20px;
    padding: 10px 20px !important;
    margin: 20px 0 0;
    transition: .3s ease all;
    text-transform: capitalize;
    font-weight: bold !important;
    letter-spacing: .1rem;
    text-decoration: none;
    line-height: 1;
    font-family: "aktiv-grotesk-extended", sans-serif;
    -webkit-appearance: none;
}

p.submit input:hover {
    cursor: pointer;
    background-color: white;
    border-color: #EA443A;
    color: #EA443A;
    text-decoration: none;
}

form.form p label {
    text-align: left !important;
    display: inline-block !important;
    width: auto !important;
    float: none !important;
    font-family: 'Open Sans', 'sans-serif' !important;
}

form.form p {
    padding: 0;
    margin: 0 !important;
    font-family: 'Open Sans', 'sans-serif' !important;
    font-size: 14px;
}

form.form p.submit {
    padding: 0;
    margin: 0 0 0 0 !important;
    text-align: center;
    width: 100%;
}

form.form {
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

form.form p.error label {
    color: black !important;
}

.red-background,
form.form p.errors {
    background: #418CBF !important;
    color: #fff;
    flex: 0 0 100%;
    text-align: center;
    font-family: 'Open Sans', 'sans-serif' !important;
    margin-bottom: 20px !important;
    padding: 10px;
}

.master {
    background-color: transparent;
    padding: 0px 0px;
}

.form-field {
    flex: 0 0 100%;
}

form.form input.text,
.master form.form textarea {
    width: calc(100% - 22px) !important;
    max-width: 100%;
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 10px;
    margin-top: 2px;
    margin-bottom: 8px;
    -webkit-appearance: none;
    font-size: 14px;

}

form.form select {
    font-weight: normal;
    display: block;
    margin-top: 2px;
    padding: 11px 10px;
    -webkit-appearance: none;
    border: 1px solid #dddddd;
    width: 100%;
    font-size: 16px;
    margin-bottom: 3px;
    background-color: white;
    background-image: url('https://storage.pardot.com/72102/168785/down_arrow_dd.png');
    background-size: 10px 5px;
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

form.form p label {
    color: #000000;
    text-transform: none;
    font-weight: 400;
}

form.form p.error.no-label {
    color: white;
    background-color: #418CBF;
    font-weight: 400;
    padding: 2px 10px;
    font-size: 12px;
    position: relative;
    margin-bottom: 10px !important;
}

form.form p.error.no-label:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(194, 225, 245, 0);
    border-bottom-color: #418CBF;
    border-width: 5px;
    margin-left: -5px;
}

form.form p.error input,
form.form p.error select {
    border: 1px solid #418CBF;
}

form.form p.errors {
    padding: 5px 0;
}

p.required label.field-label:after {
    content: "*";
    font-size: 10px;
    transform: translateY(-5px);
    top: 0;
    top: -10px;
    display: inline-block;
}

p.required label.field-label {
    background: none !important;
}

.subscribe {
    background: rgba(255, 255, 255, .5);
    padding: 50px 20px;

}

h2 {
    text-align: center;
    margin-top: 0;
}

.subscribe form {
    max-width: 600px;
    margin: 0 auto !important;
}

/* fix checkbox format */
p.form-field.pd-checkbox>span.value {
    display: block;
    margin-bottom: 10px;
}

p.form-field.pd-checkbox>span.value>span {
    display: flex;
}

p.form-field.pd-checkbox>span.value>span>input[type="checkbox"] {
    margin: 2px 10px 0 0;
}

.add-engagement-delivery-before::before {
    content: 'Engagement Delivery';
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.form-field.GDPR_Opt_In:not(.no-label) .value label.inline,
.form-field.GDPR_Marketing_Opt_In:not(.no-label) .value label.inline,
.form-field.GDPR_Opt_In.no-label .value span:nth-child(2),
.form-field.GDPR_Marketing_Opt_In.no-label .value span:nth-child(2) {
    display: none !important;
}

.form-field.GDPR_Opt_In .value label.field-label a,
.form-field.GDPR_Opt_In .value label.inline a {
    color: #EF443A;
}

.form-field.GDPR_Opt_In .value label,
.form-field.GDPR_Marketing_Opt_In .value label {
    display: inline !important;
    font-size: 12px;
}