.custom-control {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.92857rem;
    color-adjust: exact;
}
.custom-control-inline {
    display: inline-flex;
    margin-right: 1rem;
}
.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1.42857rem;
    height: 1.46429rem;
    opacity: 0;
}

.custom-control-input:checked~.custom-control-label:before {
    color: #019CFE;
    border-width: 2px;
    border-color: #019CFE;
    background-color: transparent;
}
.custom-control-input:focus~.custom-control-label:before {
    box-shadow: none;
}
.custom-control-input:focus:not(:checked)~.custom-control-label:before {
    border-color: rgba(0, 16, 61, .48);
}
.custom-control-input:not(:disabled):active~.custom-control-label:before {
    color: #fff;
    background-color: #fffae6;
    border-color: #fffae6;
}
.custom-control-input:disabled~.custom-control-label, .custom-control-input[disabled]~.custom-control-label {
    color: #919399;
}
.custom-control-input:disabled~.custom-control-label:before, .custom-control-input[disabled]~.custom-control-label:before {
    background-color: rgba(224, 226, 231, .4);
}
.custom-control-label {
    position: relative;
    color: #000;
    vertical-align: top;
    cursor: pointer;
}
.custom-control-label:before {
    pointer-events: none;
    background-color: #fff;
    border: 1px solid #bfc1c7;
}
.custom-control-label:after, .custom-control-label:before {
    position: absolute;
    top: .03571rem;
    left: -1.92857rem;
    display: block;
    width: 1.42857rem;
    height: 1.42857rem;
    content: ""
}

.custom-control-label:after {
    background: no-repeat 50%/50% 50%
}

.agree-checkbox-block.custom-checkbox {
    margin-bottom: 0;
    padding-bottom: 32px;
}
.agree-checkbox-block .pseudo-hidden {
    width: 0;
    height: 0;
}

.custom-checkbox .error.help-block {
    position: absolute;
    bottom: 0;
    left: 0;
}

.custom-checkbox .custom-control-label:before {
    border-radius: 4px;
    border-width: 2px;
    border-color: #019CFE;
    background-color: transparent;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label:after {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5999 1.59985L3.23026 6.39985L1.3999 4.76366' stroke='%23019CFE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:before {
    border-color: #ffda33;
    background-color: #ffda33;
}

.custom-checkbox .custom-control-input:indeterminate~.custom-control-label:after {
    background-image: url("data:image/svg+xml;charset=utf-8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath stroke='%23019CFE' d='M0 2h4'/%3E%3C/svg%3E");
}
.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label:before {
    background-color: rgba(255, 218, 51, .5);
}
.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label:before {
    background-color: rgba(255, 218, 51, .5);
}
.custom-radio .custom-control-label:before {
    border-radius: 50%}
.custom-radio .custom-control-input:checked~.custom-control-label:after {
    background-image: url("data:image/svg+xml;charset=utf-8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23019CFE'/%3E%3C/svg%3E");
}
.custom-radio .custom-control-input:disabled:checked~.custom-control-label:before {
    background-color: rgba(255, 218, 51, .5);
}
.custom-switch {
    padding-left: 3rem;
}
.custom-switch .custom-control-label:before {
    left: -3rem;
    width: 2.5rem;
    pointer-events: all;
    border-radius: .71429rem;
}
.custom-switch .custom-control-label:after {
    top: calc(.03571rem + 2px);
    left: calc(-3rem + 2px);
    width: calc(1.42857rem - 4px);
    height: calc(1.42857rem - 4px);
    background-color: #bfc1c7;
    border-radius: .71429rem;
    transition: transform .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
@media (prefers-reduced-motion:reduce) {
    .custom-switch .custom-control-label:after {
        transition: none;
    }
}
.custom-switch .custom-control-input:checked~.custom-control-label:after {
    background-color: #fff;
    transform: translateX(1.07143rem);
}
.custom-switch .custom-control-input:disabled:checked~.custom-control-label:before {
    background-color: rgba(255, 218, 51, .5);
}

.custom-select {
    display: inline-block;
    width: 100%;
    height: 40px;
    padding: .71429rem 1.85714rem .71429rem .85714rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.428;
    color: #2c2d2e;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml;charset=utf-8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .85714rem center/8px 10px;
    border: 1px solid #e0e2e7;
    border-radius: 4px;
    appearance: none;
}
.custom-select:focus {
    border-color: rgba(0, 16, 61, .48);
    outline: 0;
    box-shadow: 0 0 0 0 rgba(255, 218, 51, .25);
}

.custom-select[multiple], .custom-select[size]:not([size="1"]) {
    height: auto;
    padding-right: .85714rem;
    background-image: none;
}
.custom-select:disabled {
    color: #919399;
    background-color: #f0f1f4;
}

.custom-select-sm {
    height: calc(1.5em + .5rem + 2px);
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    font-size: .875rem;
}
.custom-select-lg {
    height: 48px;
    padding-top: .92857rem;
    padding-bottom: .92857rem;
    padding-left: .92857rem;
    font-size: 1.14286rem;
}
.custom-file {
    display: inline-block;
    margin-bottom: 0;
}
.custom-file, .custom-file-input {
    position: relative;
    width: 100%;
    height: 40px;
}
.custom-file-input {
    z-index: 2;
    margin: 0;
    opacity: 0;
}
.custom-file-input:focus~.custom-file-label {
    border-color: rgba(0, 16, 61, .48);
    box-shadow: 0;
}
.custom-file-input:disabled~.custom-file-label, .custom-file-input[disabled]~.custom-file-label {
    background-color: rgba(224, 226, 231, .4);
}
.custom-file-input:lang(en)~.custom-file-label:after {
    content: "Browse"}
.custom-file-input~.custom-file-label[data-browse]:after {
    content: attr(data-browse);
}
.custom-file-label {
    left: 0;
    z-index: 1;
    height: 40px;
    font-weight: 400;
    background-color: #fff;
    border: 1px solid #e0e2e7;
    border-radius: 4px;
}
.custom-file-label, .custom-file-label:after {
    position: absolute;
    top: 0;
    right: 0;
    padding: .71429rem .85714rem;
    line-height: 1.428;
    color: #2c2d2e;
}
.custom-file-label:after {
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.428em + 1.42857rem);
    content: "Browse";
    background-color: #f0f1f4;
    border-left: inherit;
    border-radius: 0 4px 4px 0;
}
.custom-range {
    width: 100%;
    height: 1rem;
    padding: 0;
    background-color: transparent;
    appearance: none;
}
.custom-range:focus {
    outline: none;
}

.custom-control-label:before, .custom-file-label, .custom-select {
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
@media (prefers-reduced-motion:reduce) {
    .custom-control-label:before, .custom-file-label, .custom-select {
        transition: none;
    }
}