/* Cursor Highlight */
::-moz-selection {
    background: #dfe4e8;
    color: #001e50;
}
::selection {
    background: #dfe4e8;
    color: #001e50;
}

/* -----------------------------------------------------
Animations
----------------------------------------------------- */
@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
.list-reset {
    list-style: none;
}
/* Container */
.content-container {
    width: calc(100% - 14vw);
    max-width: 680px;
    margin: 0 auto;
}

/* Flex */
.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.flex-start {
    justify-content: flex-start;
}
.flex-split > div {
    width: calc(50% - 32px);
    flex-basis: calc(50% - 32px);
}

.form {
    overflow: hidden;
}
.field-label {
    display: inline-block;
}
.text-field .input,
.text-field .field-label,
.select-input {
    height: 58px;
}
.text-field .input,
.select-input {
    width: 100%;
    border-bottom: 2px solid #001e50;
    transition: border 0.4s;
}
.form-field.disabled {
    pointer-events: none;
}
.text-field.disabled .input,
.text-field.disabled .field-label,
.select-field.disabled .select-input {
    color: #6a767d;
}
.text-field.disabled .input,
.select-field.disabled .select-input {
    border-bottom-color: #6a767d;
}

/* ----- Browser Resets ----- */
.input::-ms-clear {
    display: none;
}

/* ----- Text Fields ----- */
.text-field .input {
    display: block;
}
.text-field .field-label,
.text-field .field-line {
    left: 0;
    position: absolute;
}
.text-field .field-label {
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    transition: all 0.4s;
}
.text-field .label-extended {
    padding-left: 7px;
}
.text-field .input:focus + .field-line {
    background-color: black;
    opacity: 1;
}
.text-field.active .field-label,
.text-field.valid .field-label {
    color: #6a767d;
    height: 22px;
    top: -14px;
    font-size: 18px;
}
.text-field.error .input {
    border-bottom-color: #e4002c;
    color: #e4002c;
}
.text-field:not(.date-field) .input {
    padding-right: 50px;
}
.text-field:not(.date-field) .form-input:before,
.text-field:not(.date-field) .form-input:after {
    content: "";
    right: 0;
    position: absolute;
    display: block;
    opacity: 0;
    transition: 0.3s;
}
.text-field:not(.date-field) .form-input:before {
    width: 26px;
    height: 26px;
    border: 2px solid #E4002C;
    border-radius: 100%;
    background-image: url(../images/ico-error.svg);
    background-size: 28px 28px;
    background-repeat: no-repeat;
    background-position: center;
    top: calc(50% - 14px);
    -webkit-transform:  scale(0) rotate(-90deg);
    -ms-transform:      scale(0) rotate(-90deg);
    transform:          scale(0) rotate(-90deg);
}
.text-field:not(.date-field) .form-input:after {
    width: 20px;
    height: 8px;
    border-bottom: 2px solid #00b0f0;
    border-left: 2px solid #00b0f0;
    top: calc(50% - 5px);
    -webkit-transform:  scale(0) rotate(-135deg);
    -ms-transform:      scale(0) rotate(-135deg);
    transform:          scale(0) rotate(-135deg);
}
.text-field:not(.date-field).error .form-input:before {
    opacity: 1;
    -webkit-transform:  scale(1);
    -ms-transform:      scale(1);
    transform:          scale(1);
}
.text-field:not(.date-field).valid .form-input:after {
    opacity: 1;
    -webkit-transform:  scale(1) rotate(-45deg);
    -ms-transform:      scale(1) rotate(-45deg);
    transform:          scale(1) rotate(-45deg);
}

/* ----- Date Fields ----- */
.date-field .form-input {
    background-image: url(../images/ico-calender.svg);
    background-size: 32px 32px;
    background-position: right center;
    background-repeat: no-repeat;
    transition: background-image 0.4s;
}
.ui-datepicker {
    width: 320px;
    background-color: black;
    color: #dfe4e8;
    padding: 20px;
    font-size: 18px;
}
.ui-state-default.ui-state-active {
    font-weight: bold;
}
.ui-state-default{}
.ui-datepicker span,.ui-state-default,.ui-state-active {
    color: #ffffff !important;
}
.ui-datepicker-unselectable {
    opacity: 0.5;
}
.ui-datepicker-header {
    font-family: "VW Head", Arial, sans-serif;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}
.ui-datepicker-prev,
.ui-datepicker-next {
    height: 100% !important;
}
.ui-datepicker-prev {
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
}
.ui-datepicker-next {
    top: 0 !important;
    left: auto !important;
    right: 0 !important;
}
.ui-datepicker-prev:before,
.ui-datepicker-next:before {
    content: "";
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    display: block;
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 5px);
}
.ui-datepicker-prev:before {
    border-right: 10px solid #ffffff;

}
.ui-datepicker-next:before {
    border-left: 10px solid #ffffff;
}
.ui-state-disabled {
    opacity: 0.2;
}
/*

!* ----- Select Fields ----- *!
.select-input,
.select-option {
    cursor: pointer;
}
.select-input {
    padding-right: 70px;
    text-align: left;
    display: block;
    position: relative;
}
.select-input .select-value {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}
.select-box {
    background-color: #001e50;
    padding: 15px 26px;
    width: 100%;
    max-height: 226px;
    left: 0;
    bottom: 2px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-transform:  translateY(100%);
    -ms-transform:      translateY(100%);
    transform:          translateY(100%);
    position: absolute;
    display: none;
}
.select-option {
    color: #dfe4e8;
    font-size: 18px;
    padding: 6px 0;
    transition: padding-left 0.4s, color 0.3s;
    display: none;
}
.select-option.selected {
    color: #00b0f0;
    font-weight: 700;
}
.select-option.select-placeholder {
    display: none !important;
}
!* Select Arrow *!
.select-ul .arrow {
    position: absolute;
    right: 0;
    top: 50%;
}
.select-ul .arrow:before,
.select-ul .arrow:after {
    content: "";
    width: 24px;
    border-bottom: 2px solid #96A3A8;
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transition: 0.4s;
}
.select-ul .arrow:before {
    -webkit-transform:  rotate(45deg);
    -ms-transform:      rotate(45deg);
    transform:          rotate(45deg);
    right: 16px;
}
.select-ul .arrow:after {
    -webkit-transform:  rotate(-45deg);
    -ms-transform:      rotate(-45deg);
    transform:          rotate(-45deg);
}
.select-ul.open {
    z-index: 10;
}
.select-ul.open .arrow:before {
    -webkit-transform:  rotate(135deg);
    -ms-transform:      rotate(135deg);
    transform:          rotate(135deg);
}
.select-ul.open .arrow:after {
    -webkit-transform:  rotate(-135deg);
    -ms-transform:      rotate(-135deg);
    transform:          rotate(-135deg);
}
.select-ul.open .select-box,
.select-ul.open .select-option {
    display: block;
}
.select-ul.open .select-box {
    z-index: 100;
}
.select-field.valid .arrow:before,
.select-field.valid .arrow:after {
    border-bottom-color: #00b0f0;
}
.select-ul .simplebar-track.simplebar-vertical {
    width: 22px;
}
.select-ul .simplebar-track.simplebar-vertical .simplebar-scrollbar {
    width: 100%;
    right: 0;
}
.select-ul .simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
    background-color: #00437A;
    width: 7px;
    top: 6px;
    bottom: 6px;
    right: 6px;
    left: auto;
    opacity: 0.5;
    border-radius: 0;
}
.select-ul .simplebar-track.simplebar-vertical .simplebar-scrollbar.simplebar-visible:before {
    opacity: 1;
}
.select-field.disabled .select-input .arrow:before,
.select-field.disabled .select-input .arrow:after {
    border-bottom-color: #dfe4e8;
}
*/

/* ----- Radios & Checkboxes ----- */
.control-field .input,
.control-field .field-label {
    cursor: pointer;
}

.control-field .input {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0 !important;
    z-index: 1;
}
.control-field .field-label {
    transition: color 0.3s;
}
/* Control Bullseye */
.control-bull,
.control-bull:after {
    border-radius: 100%;
    position: absolute;
}
.control-bull {
    width: 30px;
    height: 30px;
    border: 2px solid #001e50;
    left: 0;
    top: 2px;
}
.control-bull:after {
    content: "";
    background-color: transparent;
    width: 14px;
    height: 14px;
    left: calc(50% - 7px);
    top: calc(50% - 7px);
    display: block;
    transition: transform 0.4s, background-color 0.3s;
}
.control-bull ~ .field-label {
    padding: 2px 0;
    padding-left: 40px !important;
}
.input:checked ~ .control-bull:after {
    background-color: #00b0f0;
}
/* Control Toggle */
.control-toggle {
    width: 50px;
    height: 26px;
    border-radius: 13px;
    border: 1px solid black;
    position: relative;
    transition: border 0.3s;
}
.control-toggle:after {
    content: "";
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: 8px;
    border-radius: 100%;
    background-color: #ccc;
    position: absolute;
    transition: all 0.4s, background-color 0.3s;
}
.input:checked ~ .control-toggle:after {
    background-color: black;
    left: calc(100% - 18px);
    -webkit-transform:  scale(1.2);
    -ms-transform:      scale(1.2);
    transform:          scale(1.2);
}

/* ----- Checkbox Fields ----- */
.checkbox-list .check-field:nth-last-child(n+2) {
    margin-bottom: 40px;
}
.checkbox-list .form-input {
    max-width: 330px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.checkbox-list .field-label {
    flex-grow: 1;
    color: black;
}

/* ----- Required Fields ----- */
.required .select-input .select-value:before,
.required.text-field .field-label:before,
.field-group.required .field-title:before {
    content: "*";
}
.required .select-input .select-value:before {
    opacity: 1;
    transition: opacity 0s, font-size 0.4s;
}
.required .select-input:not(.input-placeholder) .select-value:before {
    opacity: 0;
    font-size: 0;
}
.field-group.required .field-label:before {
    display: none;
}

/* ----- Autofill Fields ----- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #001e50 !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: transparent !important;
}

/* ----- Form validation ----- */
.error-msg {
    color: #e4002c;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

/* ----- Thank You ----- */
.thank-you .popup-box {
    text-align: center;
}
.thank-you h5 {
    margin-top: 10px;
}