.fade-enter-active,
.fade-leave-active {
    transition: opacity .5s;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}


/* .slide-fade-enter-active {
    transition: all .3s ease;
}

.slide-fade-leave-active {
    transition: all .8s ease;
} */

.slide-fade-enter,
.slide-fade-leave-to
/* .slide-fade-leave-active below version 2.1.8 */

    {
    /* transform: translateX(10px);
    opacity: 0; */
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 1s;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}


/* ------------- */


/* autofill styles reset */

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: #333;
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}


/* not allowed */

.not-allowed {
    height: 100%;
    background: var(--unicolor);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    text-align: center;
}

.not-allowed h5 {
    max-width: 500px;
}

.not-allowed a.link {
    color: white;
    text-decoration: underline;
    display: block;
    margin-top: 20px;
}

.step-container {
    padding-bottom: 65px;
    background: #fff;
    position: fixed;
    top: 0;
    z-index: 999999;
    bottom: 0;
    height: 100%;
    overflow: auto;
    width: 100%;
    color: #333;
}

.step-container .inner-wrapper {
    max-width: 800px;
    margin: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.app-heading-wrapper .title-wrapper {
    min-height: 170px;
    background-image: url('/public/assets/images/backgrounds/matchings/heading-tablet.jpg');
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    padding-right: 40px;
}

.step-title {
    /* width: calc(100% - 29px); */
    font-size: 21px;
    margin-top: 0;
    margin-bottom: 0;
    /* padding: 20px; */
    color: white;
}

.app-heading-wrapper .text-wrapper {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-form .description {
    /* font-weight: 600; */
    margin: 15px 0;
    font-size: 15px;
    color: #fff;
    line-height: 1.5;
}

.app-form .limit,
.app-form .time {
    font-weight: 600;
    margin-top: 15px;
    position: relative;
}

.app-form .time {
    margin-left: auto;
}

.app-form .time .app-svg {
    width: 20px;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: -25px;
}

.app-form .app-form-title {
    font-size: 24px;
    margin-top: 0;
}

.options-wrapper,
.my-select.multiple,
.app-body {
    margin-top: 40px;
}

.options-wrapper {
    min-height: calc(100% - 100px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.options-wrapper .single-input {
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.options-wrapper .single-input input {
    border: none;
    font-size: 24px;
    height: 100%;
    padding-bottom: 15vh;
    text-align: center;
    background-color: transparent;
    position: relative;
}

input.cursor {
    caret-color: transparent;
    -webkit-caret-color: transparent;
}


/* Form fields */

.app-form-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.app-form-row.gmat {
    flex-grow: 1;
    align-content: flex-start;
    margin-top: 8vh;
}

.app-form-row.gmat .app-form-group {
    margin-bottom: 20px;
}

.app-form-row.gmat input {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.app-form-group {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

.app-form-group.select-group {
    height: 40px;
    border-bottom: 1px solid #d8d8d8;
}

.app-form-group input {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    min-height: 40px;
    padding: 0;
    outline-color: transparent;
    border: none;
    border-bottom: 1px solid #d8d8d8;
    background: transparent;
    -webkit-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    position: relative;
}

.app-form-group select {
    width: 100%;
    opacity: 0;
    height: 100%;
}

.app-form-group label,
.app-form-group .option {
    margin: 0;
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    font-weight: 700;
    -webkit-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.app-form-group input:focus+label,
.app-form-group .filled+label {
    font-size: 12px;
    font-weight: 700;
    top: -10px;
    opacity: .8
}

.two-fileds .app-form-group {
    width: 48%;
}

.app-form .option-block,
.app-form .choosen-option {
    display: block;
    background: #f1f1f1;
    padding: 20px;
    margin-bottom: 10px;
    position: relative;
    width: 100%;
    transition: all .3s;
    /* border-radius: 5px; */
}

.app-form .option-block.heading {
    font-weight: 700;
    font-family: 'Montserrat';
    background: none;
    border: 1px solid #c8c8c8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.app-form .option-block.heading.center {
    justify-content: center;
}

.app-form .option-block.heading.disable {
    opacity: 40%;
}

.app-form .option-block.center {
    text-align: center;
}

.app-form .icon-shape {
    position: relative;
    width: 30px;
    height: 30px;
    background: 0 0;
    border: 1px solid #979797;
    border-radius: 50%;
    -webkit-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
    display: inline-block;
}

.app-form .icon-shape::before,
.app-form .icon-shape::after {
    content: "";
    position: absolute;
    background: #000;
    -webkit-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
}

.app-form .icon-shape::before {
    top: 14px;
    left: 9px;
    width: 9px;
    height: 1px;
}

.app-form .icon-shape::after {
    top: 10px;
    left: 13px;
    width: 1px;
    height: 9px;
}

.app-form .option-block.heading.expand .icon-shape::after {
    transform: rotate(90deg);
}

.app-form label.option-block.heading+.options-wrapper {
    margin-top: 0;
    padding: 0;
}

.choosen-option.selection.dis {
    background: #fff;
    color: #333;
}

span.app-svg {
    display: block;
    width: 61px;
    margin: auto;
    margin-bottom: 10px;
}

.cv-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 87px;
    position: relative;
}

.cv-wrapper label.app-cv {
    font-size: 24px;
    color: #8a8a8a;
    text-align: center;
    display: block;
}

.cv-wrapper .icon-shape {
    transform: rotate(45deg);
    position: relative;
    z-index: 2;
}

.cv-wrapper label.option-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cv-wrapper label.hidden-cv-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.option-block.selection::after {
    content: "";
    display: inline-block;
    margin-left: 7px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #333;
}

.option-block.selection.checked::after {
    border-top: 7px solid #fff;
}

.app-form .select {
    display: none
}

.app-form input:checked+label,
.app-form .choosen-option,
.app-form .option-block.checked {
    /* box-shadow: 0 0 13px #0000003d; */
    background: var(--unicolor);
    color: #fff;
    font-weight: 500;
}

.app-form .choosen-option.selection {
    text-align: center;
}

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

.app-form .checking label {
    background: none !important;
    color: #333 !important;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
}

.checking .form-group--error label {
    color: #bd2f46 !important;
}

.app-form .checking label::before {
    content: "\2714";
    background-color: #e3dfdf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    /* padding-left: .2em; */
    /* padding-bottom: .3em; */
    margin-right: .5em;
    vertical-align: bottom;
    color: transparent;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    position: relative;
    top: -2px;
}

.app-form .checking input[type=checkbox]:checked+label:before {
    background-color: var(--unicolor);
    color: #fff;
}

.vue-simple-progress-text {
    font-size: 13px !important;
    margin-right: 10px;
    font-weight: 500;
}

.vue-simple-progress-bar {
    -webkit-transition: all 0.5s ease 0s !important;
    transition: all 0.5s ease 0s !important;
}

/* ----------------------------------------- */
.app-form .checks .options-list label {
    padding: 15px 20px;
    display: block;
}

.app-form .checks .options-list label::before {
    content: url('../../../../images/icons/check_white.svg');
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 1px solid #009dbb;
    border-radius: 3px;
    margin-right: 7px;
    position: relative;
    top: 3px;
}

.app-form .checks .options-list input:checked+label {
    background: none;
    color: initial
}



.app-form .checks .options-list input[disabled]+label:before {
    border-color: grey;
}

.app-form .checks .options-list>div+div label {
    border-top: 1px solid #e8e8e8;
}

.app-form .checks .options-list input:checked+label::before {
    background: #009dbb;
}

/* -------------FORM MODAL------------------- */

.modal-block {
    position: fixed;
    background: rgb(0 0 0 / 50%);
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 99;
    transform: translateY(0px);
    transition: transform .3s, background .3s .3s;
}

.modal-block-inner {
    background: #fff;
    height: 50%;
    min-height: 600px;
    box-shadow: 0 0 10px 5px #0000004a;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

.modal-block .modal-block-header {
    position: sticky;
    top: 0;
    left: 0;
    background: #fff;
    padding: 15px 20px;
    z-index: 99;
    align-items: flex-start;
    justify-content: space-between;
    display: flex;
}

.modal-block .modal-block-header span {
    display: flex;
    width: 40px;
    height: 40px;
    font-size: 42px;
    align-items: center;
    justify-content: center;
}

.modal-block .modal-block-header .pills-container {
    margin-bottom: -10px;
}

.modal-block .modal-block-header label.pill {
    padding: 10px 15px;
    border: 1px solid #009dbb;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.modal-block .modal-block-header label.pill::after {
    content: '\00D7';
    font-size: 28px;
    display: inline-block;
    margin-left: 5px;
    line-height: 0;
}

.modal-block .modal-block-body {
    overflow: auto;
    height: 100%;
}

.modal-block.invisible {
    transform: translateY(100%);
    background: transparent;
    transition: background .3s .3s;

}

/* --------------Form buttons-------------- */

.app-form .button-wrapper {
    margin-top: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.app-form .button-wrapper .button-box {
    max-width: 800px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: 0px 0 5px rgb(0 0 0 / 26%); */
    background: rgb(255 255 255 / 90%);
}

.app-form .button-box .btn {
    width: 49%;
    max-width: 200px;
    border: none;
    padding: 20px;
    color: var(--unicolor);
    touch-action: manipulation;
}

.app-form .button-box .btn.btn-next {
    opacity: 1;
    margin-left: auto;
}

.app-form .button-box .btn.btn-previous::before {
    content: "\2190";
    left: -5px;
}

.app-form .button-box .btn.btn-next::after {
    content: "\2192";
    left: 5px;
}

.app-form .button-box .btn.btn-next::after,
.app-form .button-box .btn.btn-previous::before {
    position: relative;
    font-size: 20px;
    top: 2px;
}

.app-form .button-box .btn.btn-next.disabled {
    opacity: 0.6;
}

.app-form .btn-close {
    color: #333;
    font-size: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
    border: none;
    padding: 0;
}

.typing {
    position: absolute;
    padding-bottom: 15vh;
    font-size: 24px;
    text-align: center;
    color: rgb(145, 145, 145);
    width: 100%;
}

.typing::after {
    content: "";
    width: 3px;
    height: 31px;
    display: inline-block;
    margin-bottom: -11Spx;
    border-right: 2px solid;
    -webkit-animation: blink 1.05s steps(1) infinite;
    animation: blink 1.05s steps(1) infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@-webkit-keyframes blink {
    50% {
        border-color: transparent;
    }
}


/* ---------------Errors--------------------------- */

.form-group--error label {
    color: #bd2f46;
}

.form-group--error,
.form-group--error input {
    border-color: #bd2f46 !important;
}

.form-group--error small.error {
    color: #bd2f46;
}


/* ---------------End errors--------------------------- */

.account-details+.step-container {
    display: none;
}

.app-form .h4 {
    color: white;
}

.app-form input[disabled]+label {
    opacity: 0.6;
}

.my-select {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.my-select select {
    position: absolute;
    z-index: 1;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.my-select.multiple {
    align-content: flex-start;
}

.my-select.single {
    margin-bottom: 50px;
}

.vue-simple-progress-bar {
    background: var(--unicolor) !important;
}

@media screen and (max-width: 820px) {
    .app-form .btn-close {
        color: #fff;
        background: none;
        font-size: 40px;
    }

    .options-wrapper,
    .my-select.multiple,
    .app-body {
        padding: 0 20px;
    }

    .app-heading-wrapper .title-wrapper {
        min-height: 150px
    }
}

@media screen and (max-width: 680px) {
    .app-form-row .app-form-group {
        width: 100%;
    }
}