.marketo-form h4 {
    color: #283E5C;
}

.marketo-form input::placeholder{
    color: #a6a6c1 !important;
}

.mktoFormRow select option[disabled], .mktoFormRow select option:invalid  {
    color: #a6a6c1 !important;
}

.mktoField::placeholder{
    color: #a6a6c1 !important;
}

.mktoFormRow {
    margin-bottom: 8px!important;
}

.mktoField {
    width: 100%;
    padding: 12px 50px 12px 10px;
    border-radius: 3px;
    border: #EBEBF4 1px solid;
    color: #283E5C;
    background-color: #fff;
    font-size: 1em !important;
}

.marketo-form select {
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%),
        linear-gradient(to right, #ccc, #ccc);
    background-position:
        calc(100% - 20px) calc(1.3em + 2px),
        calc(100% - 15px) calc(1.3em + 2px),
        calc(100% - 2.5em) 0.8em;
    background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
    background-repeat: no-repeat;
}

.marketo-form select:focus {
    outline: none;
    border-color: #1AC798;
    border-width: 1px;
}

.marketo-form input:focus {
    outline: none;
    border-color: #1AC798;
    border-width: 1px;
}

.mktoInvalid {
    border-color: #DB2671 !important;
    border-width: 1px;
}

.mktoErrorMsg {
    font-size: 13px;
    background-color: #DB2771;
    color: #fff;
    margin-top: 8px;
    padding: 5px 10px;
    border-radius: 2px;
}

.mktoHtmlText sub  {
    font-size: 10px !important;
    color: #283E5C !important;
    padding-bottom: 10px !important;
}

.mktoCheckboxList {
    display: flex;
    padding: 12px 0;
    justify-content: flex-start;
    align-items: center;
}

.marketo-form input[type=checkbox] {
    position: relative;
    margin-right: 5px;
    width: 28px;
}

.marketo-form input[type=checkbox]:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 4px;
    top: -4px;
    width: 22px;
    height: 22px;
    background: url(https://digitalmarketinginstitute.com/assets-v3/images/svg-icons/checksprite.svg) -82px top no-repeat;
}

.marketo-form input[type=checkbox] + label{
    color: #293e5c;
}

.marketo-form input[type=checkbox]:checked::before {
    background-position-x: -109px;
}

.marketo-form input[type=checkbox]:checked + label {
    color: #1AC798;
}

::-webkit-input-placeholder {
    color: #1AC798;
}

.marketo-form button, .marketo-form input[type=submit] {
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0;
    box-sizing: border-box;
    transition: all .2s;
    background: #1AC798;
    color: #fff;
    border: none;
    box-shadow: none;
    position: relative;
    padding: 18px 65px;
    cursor: pointer;
    padding: 18px 32px;
}

.marketo-form button:hover, .marketo-form input[type=submit]:hover {
    background-color: #149a76;
}

label.mktoLabel {
    display: none;
}

/* ============ OLD STYLING ============ */

form.mktoForm input:focus,
form.mktoForm select:focus,
form.mktoForm textarea:focus,
form.mktoForm button:focus {
    outline: none;
}

form.mktoForm input[type="checkbox"], form.mktoForm input[type="radio"] {
    display: none;
}

form.mktoForm input[type="checkbox"] + label, form.mktoForm input[type="radio"] + label {
    position: relative;
    padding-left: 30px;
    margin-left: 0;
    margin-bottom: 5px;
    font-weight: 400;
}

form.mktoForm table input[type="checkbox"] + label {
    margin: 0;
    font-family: "AeonikRegular", sans-serif;
}

form.mktoForm input[type="checkbox"] + label:before, form.mktoForm input[type="radio"] + label:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: url("/assets-v3/images/svg-icons/checksprite.svg") -82px top no-repeat;
}

form.mktoForm input[type="checkbox"]:hover + label:before {
    background-position-x: -136px;
}

form.mktoForm input[type="checkbox"]:checked + label {
    color: #1AC798;
}

form.mktoForm input[type="checkbox"]:checked + label:before {
    background-position-x: -109px;
}

form.mktoForm input[type="radio"]:checked + label {
    color: #1AC798;
}

form.mktoForm input[type="radio"] + label:before {
    background-position-x: -1px;
}

form.mktoForm input[type="radio"]:hover + label:before {
    background-position-x: -55px;
}

form.mktoForm input[type="radio"]:checked + label:before, form.mktoForm input[type="radio"]:checked + label:before {
    background-position-x: -28px;
}

form.mktoForm input:not([type=checkbox]):not([type=radio]):not([type=submit]), form.mktoForm textarea, form.mktoForm select {
    color: #283E5C;
    margin-bottom: 5px !important;
    display: block;
    font-size: 1rem;
    padding: 12px 10px;
}

form.mktoForm input:not([type=checkbox]):not([type=radio]):not([type=submit]):focus, form.mktoForm textarea:focus, form.mktoForm select:focus {
    border-color: #1AC798;
}

form.mktoForm input:not([type=checkbox]):not([type=radio]):not([type=submit]).mktoInvalid, form.mktoForm textarea.mktoInvalid, form.mktoForm select.mktoInvalid {
    border-color: #DB2671 !important;
    border-width: 1px;
}

form.mktoForm label {
    font-family: "AeonikMedium",sans-serif;
    color: #293e5c;
    font-weight: 500;
    transition: all .25s;
}

form.mktoForm div.mktoFieldWrap:focus-within label {
    color: #1AC798;
}

form.mktoForm select {
    background-image: linear-gradient(45deg, transparent 50%, #9b9bb9 50%), linear-gradient(135deg, #9b9bb9 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% + 30px) calc(1em - 4px), calc(100% + 35px) calc(1em - 4px), calc(100% + 10px) 2px;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    font-weight: 500;
    margin-bottom: 5px !important;
    padding-right: 50px;
}

form.mktoForm legend {
    font-size: 0.9rem;
    color: #a6a6c1;
}

form.mktoForm button, form.mktoForm input[type=submit] {
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0;
    box-sizing: border-box;
    transition: all .2s;
    background: #1AC798;
    color: #fff;
    border: none;
    box-shadow: none;
    position: relative;
    /*padding: 18px 65px;*/
    cursor: pointer;
    padding: 18px 32px!important;;
}

form.mktoForm button:hover, form.mktoForm input[type=submit]:hover {
    background-color: #149a76;
}