.full-w {
    width: 100%;
}

.acf.form-block {
    text-align: center;
    width: 720px;
    display: block;
    margin: 0 auto;
}

.word-counter {
    margin: 20px 0;
}

.form-block > .title {
    padding-bottom: 0;
    margin-bottom: 70px;
    font-size: 25px;
    line-height: 31px;
    color: #12356C;
    font-family: 'cf_asty_st_medium', sans-serif;
}

.form-block[class*="BG#12356c"] > .title,
.form-block[class*="BG#12356c"] form input[type="text"], 
.form-block[class*="BG#12356c"] form input[type="date"], 
.form-block[class*="BG#12356c"] form textarea, 
.form-block[class*="BG#12356c"] form .form-control.textarea,
.form-block[class*="BG#12356c"] .choices-wrapper .choices-container,
.form-block[class*="BG#12356c"] .choices-wrapper .choices-dropdown-wrapper .item .text,
.form-block[class*="BG#12356c"] form .custom-chk .chkbox .box > span,
.form-block[class*="BG#12356c"] form .custom-chk label  {
    color: #fff;
}

.form-block[class*="BG#12356c"] .choices-wrapper .choices-dropdown-wrapper {
    border-color: #fff;
    border-style: solid;
    border-width: 0 1px 1px 1px;
    box-sizing: border-box;
}

.form-block[class*="BG#12356c"] form input[type="text"],
.form-block[class*="BG#12356c"] form input[type="date"], 
.form-block[class*="BG#12356c"] form textarea, 
.form-block[class*="BG#12356c"] form .form-control.textarea,
.form-block[class*="BG#12356c"] .choices-wrapper .choices-container,
.form-block[class*="BG#12356c"] form .custom-chk .chkbox .box,
.form-block[class*="BG#12356c"] form .form-control.submit.left-mode {
    border: 1px solid #fff;
}

.form-block[class*="BG#12356c"] .chevron.chathams-blue::after, .chevron.chathams-blue::before {
    background-color: #fff;
}

.form-block[class*="BG#12356c"] form .form-control::before,
.form-block[class*="BG#12356c"] .choices-wrapper .choices-dropdown {
    background-color: #12356C;
}

form .form-control {
    position: relative;
    margin-bottom: 15px;
    z-index: 2;
}

form .form-control label {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%) scale(1);
    color: #9B9B9B;
    font-size: 14px;
    line-height: 1;
    z-index: -1;
    transition: all .3s ease-in-out;
    transform-origin: bottom left;
}

form .form-control.focus label {
    transform: translateY(-50%) scale(0);
}

form .form-control.file.error .file-wrapper .file-container {
    border: 1px solid #fa4251;
}

form .form-control.file.glow .file-wrapper .file-container,
form .form-control.choices.glow .choices-wrapper .choices-container {
    box-shadow: inset 0 0 5px #fa4251;
    border: 1px solid #fa4251;
}

form .form-control.choices {
    z-index: 4;
}

.choices-wrapper {
    position: relative;
    width: 100%;
}

.choices-wrapper label {
    margin-bottom: 15px;
    display: block;
}

.choices-wrapper .ch-parent {
    position: relative;
}

.choices-wrapper .choices-container {
    display: flex;
    align-items: center;
    flex: 0 0 100%;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #12356c;
    border-radius: 0;
    background: 0 0;
    outline: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #12356c;
    padding: 10px 18px;
}

.choices-wrapper .choices-container .choices {
    flex: 0 0 calc(100% - 45px);
    text-align: left;
}

form .form-control.submit.left-mode {
    display: flex;
    width: 225px;
}

.choices-wrapper .choices-container .choices > span {
    font-size: 14px;
    line-height: 1.2;
    color: #9B9B9B;
}

.choices-wrapper .choices-container .choice {
    font-weight: bold;
}

.choices-wrapper .choices-container .choice.item {
    padding-right: 18px;
    position: relative;
    display: inline-block;
}

.choices-wrapper .choices-container .choice.item .delete {
    position: absolute;
    top: 0;
    right: 6px;
    font-size: 18px;
    line-height: 18px;
    cursor: pointer;
}

.choices-wrapper .choices-dropdown-wrapper .item .delete {
    display: none;
    width: 0px;
    height: 0px;
    visibility: hidden;
    opacity: 0;
    position: relative;
    z-index: -1;
}

.choices-wrapper .choices-dropdown-wrapper .item .text {
    font-size: 14px;
    line-height: 1.2;
    background-color: transparent;
    color: #12356c;
    opacity: 1;
    font-family: "cf_asty_st_medium", sans-serif;
}

.choices-wrapper .choices-dropdown-wrapper .item:not(:last-child) {
    margin-bottom: 10px;
}

.choices-wrapper .choices-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 2;
    box-sizing: border-box;
    overflow: hidden;
    max-height: 0;
    transition: max-height .125s cubic-bezier(0, 1, 0, 1);
}

.form-control.choices.on .choices-dropdown {
    max-height: 250px;
    transition: max-height .25s ease-in-out;
}

.choices-wrapper .choices-dropdown-wrapper {
    max-height: 250px;
    padding: 8px 10px;
    border-color: transparent;
    border-style: none;
    border-width: 0;
    box-sizing: border-box;
    box-shadow: inset 0px -6px 6px rgb(0 14 41 / 28%);
}

.choices-wrapper .choices-dropdown-wrapper .simplebar-content {
    display: flex;
    flex-direction: column;
}

.choices-wrapper .choices-dropdown-wrapper .item {
    cursor: pointer;
    text-align: left;
}

form .form-control .file-wrapper .file-container {
    position: relative;
    display: inline-block;
    border: 1px solid #121a50;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    padding: 10px 32px 10px 18px;
    height: 40px;
}

form .form-control .file-wrapper .file-container img {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

form .form-control.success .file-wrapper .file-container img {
    filter: invert(52%) sepia(59%) saturate(5109%) hue-rotate(127deg) brightness(95%) contrast(101%);
}

form .form-control.error .file-wrapper .file-container img { 
    filter: invert(38%) sepia(90%) saturate(1029%) hue-rotate(123deg) brightness(98%) contrast(101%);
}


form .form-control .file-wrapper .file-container input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    padding: 0;
}

form .form-control .file-wrapper {
    display: flex;
    align-items: center;
}

form .form-control .file-wrapper ul {
    list-style: none;
}

form {
    display: flex;
}

form div[class*="layout-"] {
    position: relative;
    width: 100%;
    flex: 0 0 100%;
    background-color: transparent;
}

form div[class*="layout-"]:last-child {
    margin: 0;
}

form .form-control::after {
    content: attr(data-error);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1.3;
    background-color: transparent;
    color: #000E29;
    opacity: 0.2;
    padding: 0;
    letter-spacing: 0px;
}

form .form-control.hide-after::after {
    display: none;
}

form .form-control .custom-select-container {
    display: flex;
    align-items: center;
}

form .form-control .cs:not(:last-child) {
    margin-right: 10%;
}

form .form-control .cs .heading {
    display: flex;
    align-items: center;
}

form .form-control .cs .heading h2 {
    margin: 10px 6px 10px 0;
}

form .form-control .cs .heading .required-text {
    font-size: 20px;
}

form .form-control.chkbox .chk_heading {
    margin-bottom: 30px;
}

form .form-control.chkbox .sub-title {
    margin-bottom: 20px;
}

form .form-control.chkbox .footer-content {
    margin-top: 20px;
}

form .form-control.select .custom-select {
    position: relative;
    border: 1px solid #000;
    height: 60px;
    padding: 10px 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

form .form-control.select .custom-select .text-wrapper {
    display: flex;
    align-items: center;
}

form .form-control.select .custom-select .text-wrapper .text {
    font-size: 20px;
    margin-right: 10px;
    line-height: inherit;
    font-family: 'Neutraface-Text-Greek-Book', sans-serif;
}

form .form-control.select .custom-select .custom-select-dropdown .item {
    font-size: 20px;
    padding: 0 10px 6px 10px;
}

form .form-control.select .custom-select .text-wrapper .icon {
    width: 40px;
    display: inline-block;
    margin-right: 10px;
}

form .form-control.select .custom-select .text-wrapper .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

form .form-control.select .custom-select .custom-select-dropdown-wrapper {
    display: flex;
    flex-direction: column;
    padding: 12px 0px;
}

form .form-control.select .custom-select-dropdown {
    position: absolute;
    width: calc(100% + 2px);
    top: 100%;
    left: -1px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s cubic-bezier(0, 1, 0, 1);
}

.form-block .custom-select {
    width: auto;
}

form .form-control.select .custom-select.on .custom-select-dropdown {
    overflow: visible;
    max-height: 310px;
    transition: max-height .5s ease-in-out;
}

form input[type="text"],
form input[type="date"],
form textarea,
form .form-control.textarea {
    width: 100%;
    border: 1px solid #12356c;
    border-radius: 0;
    background: 0 0;
    padding: 0;
    outline: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #12356c;
    padding: 10px 18px;
}

form .form-control:not(.content)::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    background: #f4f4f4;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    z-index: -1;
}

form textarea {
    resize: none;
}

form .form-control.textarea * {
    outline: 0;
    text-align: left;
}

form .form-control.textarea label {
    top: 20px;
}

form .form-control.textarea .simplebar-content,
form .form-control.textarea .editable-textarea {
    height: 100%;
    padding-right: 10px;
}

form [type="submit"] {
    padding: 0;
    border: 0;
    color: #00DED5;
    font-size: 16px;
    line-height: 17px;
    cursor: pointer;
    margin-top: 0;
    background-color: transparent;
    width: 100%;
    padding: 14px 0;
    background-color: #12356c;
}

form .form-control.submit::before,
form .form-control.chkbox::before {
    content: none;
}

form input[type="text"],
form input[type="date"],
form textarea,
form .editable-textarea {
    font-size: 14px;
    line-height: 1.2;
}

form .form-control.chkbox label {
    font-size: 12px;
    cursor: pointer;
    color: #14356c;
    line-height: 15px;
}

form .form-control.textarea {
    height: 300px;
    /* height: 270px; */
    cursor: text;
}

form .form-control.textarea .editable-textarea-content {
    height: 100%;
}

form .form-control.submit {
    margin-bottom: 0;
}

form .form-control.textarea::after {
    top: 11px;
    transform: none;
}

form span[class*='validate'] {
    font-size: 35px;
    line-height: 22px;
    position: absolute;
    text-align: center;
    top: 45px;
    right: 0;
    z-index: 2;
}

form .validate-error,
form .form-control.error::after,
form .form-control.file.error::after,
form .form-control.file.error .file-wrapper .file-container label {
    color: #fa4251;
    opacity: .7;
}

form .form-control.error input[type="text"],
form .form-control.error input[type="date"],
form .form-control.error textarea,
form .form-control.textarea.error {
    /* border-bottom: 1px solid #fa4251 !important; */
}

form .form-control.glow input[type="text"],
form .form-control.glow input[type="date"],
form .form-control.glow textarea,
form .form-control.textarea.glow,
form .form-control.chkbox.glow .box,
form .form-control.select .custom-select.glow {
    box-shadow: inset 0 0 5px #fa4251 !important;
    border: 1px solid #fa4251 !important;
}

/* form .form-control.input.date input[type="date"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: -1;
} */

form .form-control.success input[type="text"],
form .form-control.success input[type="date"],
form .form-control.success textarea,
form .form-control.textarea.success {
    /* border-bottom: 1px solid #00ad5f !important; */
}

form .validate-ok,
form .form-control.success::after,
form .form-control.success .required:not(.custom-chk):not(.custom-select),
form .form-control.file.success .file-wrapper .file-container label,
form .form-control.file.success .file-wrapper .file-name,
form .form-control.choices.success .choices-wrapper .choices-container .choice.item .text,
form .form-control.choices.success .choices-wrapper .choices-container .choice.item .delete {
    color: #00ad5f;
}

form .form-control.file.success .file-wrapper .file-container,
form .form-control.choices.success .choices-wrapper .choices-container,
form .form-control.choices.success .choices-wrapper .choices-container .choice.item {
    border: 1px solid #00ad5f;
}

form .custom-chk .chkbox {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    position: relative;
    display: inline-block;
    margin-right: 10px;
    top: -1px;
}

form .custom-chk label  a {
    text-decoration: underline;
}

form .custom-chk .chkbox input[type="checkbox"],
form .custom-chk .chkbox .box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

form .custom-chk .chkbox .box span {
    line-height: normal;
}

.form-control.chkbox .sub-title,
.form-control.chkbox,
.form-control.content {
    font-size: 18px;
    line-height: 25px;
    letter-spacing: .9px;
}

.form-control.chkbox {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.form-control.content p:last-child {
    margin-bottom: 0;
}

form .custom-chk,
form .custom-chk .chkbox .box {
    display: flex;
    align-items: center;
}

form .custom-chk label {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    color: #12356c
}

form .custom-chk .chkbox .box {
    border: 1px solid #12356c;
    justify-content: center;
    box-sizing: border-box;
    transition: all .3s ease-in-out;
}

form .custom-chk .chkbox .box > span {
    font-size: 18px;
    transition: all .3s ease-in-out;
    color: #121a50;
}

form .custom-chk .chkbox:not(.rounded) .box > span {
    transform: scale(0);
    opacity: 0;
}

form .custom-chk .chkbox.rounded .box > span {
    display: none;
}

form .custom-chk .chkbox.rounded input[type="checkbox"]:checked + .box {
    background-color: #000;
    box-shadow: inset 0 0 0 5px #fff;
}

form .chkbox:not(.rounded) input[type="checkbox"]:checked + .box > span{
    transform: scale(1);
    opacity: 1;
}

form .custom-chk .chkbox.rounded .box {
    border-radius: 50%;
}

.chkbox input[type="checkbox"] {
    opacity: 0;
    margin: 0;
}

form .calendar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    transform: scale(0);
    transition: all .3s ease-in-out;
}

.acf-block.form-block.left-title {
    width: 1140px;
    display: flex;
}

.acf-block.form-block.left-title > .title {
    font-size: 40px;
    line-height: 1.2;
    margin-right: 114px;
    font-family: 'cf_asty_st_book', sans-serif;
    text-align: left;
    margin-bottom: 0;
    padding-bottom: 0;
    width: 290px;
    flex:0 0 290px;
}

.acf-block.form-block.left-title > form {
    margin-left: 114px;
    width: calc(100% - 518px) !important;
    flex: 0 0 calc(100% - 518px) !important;
}

.form-block .form-control .chevron {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}

@media screen and (max-width: 1320px) {
    .acf-block.form-block.left-title {
        width: 100%;
        padding: 0 2rem;
    }

    .acf-block.form-block.left-title > .title {
        font-size: 35px;
        margin-right: 50px;
        width: 270px;
        flex: 0 0 270px;
    }

    .acf-block.form-block.left-title > form {
        margin-left: 50px;
        width: calc(95% - 370px) !important;
        flex: 0 0 calc(95% - 370px) !important;
    }
}

@media screen and (max-width: 1020px) {
    .acf-block.form-block.left-title {
        flex-direction: column;
    }

    .acf-block.form-block.left-title > .title {
        font-size: 40px;
        margin-right: 0;
        width: 100%;
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 60px;
    }
    
    .acf-block.form-block.left-title > form {
        width: 80% !important;
        flex: 0 0 80% !important;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 860px) {
    .acf.form-block {
        width: 85%;
    }
}

@media screen and (max-width: 520px) {
    .acf-block.form-block.left-title > .title {
        font-size: 25px;
        margin-right: 0;
        width: 100%;
        flex: 0 0 100%;
        text-align: left;
        margin-bottom: 55px;
        line-height: 1.5;
    }

    .acf-block.form-block.left-title {
        padding: 0 1rem;
    }

    .acf-block.form-block.left-title > form {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

.content_under_button {
    font-size: 20px;
    line-height: 1.4;
    color: #12356C;
    margin-top: 40px;
    text-align: left;
}
