#progressbarRdv,
.amountHold {
    overflow: hidden;
    text-align: center
}

#msform,
#progressbarRdv,
.amountHold,
ul#formation-list {
    text-align: center
}

ul#formation-list {
    list-style: none;
    padding: 0;
    display: block;
    flex-wrap: wrap;
    gap: 10px
}

.custom-choice-field,
.formation-button-container {
    width: 100%;
    height: 50px
}

.formation-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.formation-item,
.school-item {
    width: 75%;
    height: 52px;
    padding: 10px;
    background-color: #fff;
    cursor: pointer
}

.formation-item,
.school-item {
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #c9cace;
    border-radius: 15px
}

.formation-icon,
.hour-choices .form-check .form-check-label:hover {
    outline: #1570EF solid 1px;
    border: 1px solid #1570ef
}

.date-button:hover,
.formation-item:hover,
.school-item:hover {
    outline: #1570EF solid 1px;
    border: 1px solid #1570ef
}

.formation-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #555
}

.formation-icon.selected {
    background-color: #27cc03;
    color: #fff
}

.check-mark {
    color: #000;
    margin-right: 5px;
    font-weight: 700;
    transition: transform .3s
}

.formation-item.selected {
    color: #000
}

@keyframes rotateButton {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes rotateReverseButton {
    from {
        transform: rotate(360deg)
    }

    to {
        transform: rotate(0)
    }
}

.formation-icon.animated {
    animation: .3s both rotateButton
}

.formation-icon.reAnimated {
    animation: .3s both rotateReverseButton
}

@keyframes scaleButton {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

@keyframes reScaleButton {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

.formation-item.animated {
    animation: .6s both scaleButton
}

.formation-item.reAnimated {
    animation: .6s both reScaleButton
}

#msform {
    margin: 0 auto
}

#msform fieldset {
    background: #fff;
    border: 0;
    border-radius: 3px;
    box-sizing: border-box;
    /*margin: 0 5%;*/
    position: relative
}

#msform fieldset:not(:first-of-type) {
    display: none
}

#msform input,
#msform textarea {
    padding: 25px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
    color: #2c3e50;
    font-size: 13px
}

#msform .action-button {
    width: 100px;
    background: #27ae60;
    font-weight: 700;
    color: #fff;
    border: 0;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px
}

#msform .action-button:focus,
#msform .action-button:hover {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #27ae60
}

.fs-title {
    font-size: 24px;
    color: #26254e;
    margin-bottom: 10px;
    font-weight: 700
}

#progressbarRdv {
    margin-bottom: 30px;
    counter-reset: step
}

#progressbarRdv li {
    list-style-type: none;
    color: #000;
    font-size: 10px;
    width: 20%;
    float: left;
    position: relative
}

#progressbarRdv li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: block;
    font-size: 13px;
    color: #333;
    background: #eee;
    border-radius: 100%;
    margin: 0 auto 5px
}

#progressbarRdv li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #eee;
    position: absolute;
    left: -50%;
    top: 15px;
    z-index: -1
}

#progressbarRdv li:first-child:after {
    content: none
}

#progressbarRdv li.active:after,
#progressbarRdv li.active:before {
    background: #1570ef;
    color: #fff
}

.btn-success,
.suiv-btn:hover {
    color: #fff !important
}

.school-btn:hover {
    border: 2px solid;
    cursor: pointer
}

.rotate-animation {
    animation: .3s linear rotate
}

@keyframes rotate {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.suiv-btn:hover {
    text-decoration: underline;
    color: #0014ff !important;
    cursor: pointer
}

.prev-btn,
.suiv-btn {
    height: 40px;
    display: flex;
    cursor: pointer
}

.suiv-btn {
    float: right;
    margin-right: 10%
}

.prev-btn:hover {
    text-decoration: underline;
    color: #0014ff !important;
    cursor: pointer
}

.align-middle,
.down {
    margin-top: 20px
}

.svg-left-size,
.svg-right-size {
    width: 20px
}

span.previous {
    left: -100%
}

span.next {
    left: 100%
}

.prev-date-button {
    align-items: center;
    margin: auto 2px;
    width: 5%;
    height: 30px;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    left: 0;
    top: 50%
}

.date-button {
    padding: 0;
    border: 1px solid #c9cace;
    justify-content: center;
    align-items: center;
    width: 15%;
    height: 120px;
    color: #000;
    background-color: #fff;
    cursor: pointer;
    font-size: 17px;
    line-height: 30px;
    border-radius: 4px
}

.arrow-button {
    background-color: transparent;
    border: none;
    font-size: 24px;
    color: #007bff;
    cursor: pointer;
    padding: 5px
}

.arrow-button:hover {
    color: #0056b3
}

.hour-choices .form-check .form-check-input:checked+.form-check-label,
.selected-date {
    background-color: #007bff;
    color: #fff
}

.hour-choices {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    padding: 0
}

.success-alert,
.wrong-alert {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    z-index: 1000
}
.success-alert-new {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #fff;
    z-index: 1000
}

.hour-choices .form-check {
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 15px !important;
}

.hour-choices .form-check .form-check-input {
    position: absolute;
    clip: rect(0, 0, 0, 0)
}

.hour-choices .form-check .form-check-label {
    font-size: 12px;
    display: inline-block;
    padding: 5px;
    width: 60px;
    flex: 1 1 auto !important;
    border: 1px solid #ccc;
    border-radius: 15px;
    background-color: #fff;
    cursor: pointer
}

.success-alert {
    color: #4caf50;
    border: 2px solid #4caf50;
    border-radius: 5px
}

.wrong-alert {
    color: #f80;
    border: 2px solid #f80;
    border-radius: 5px
}

@media (max-width:1400px) {
    .formation-item, .school-item {
        width: 85%
    }
}

@media (max-width:1199px) {
    .formation-item, .school-item {
        width: 70%
    }
    .hour-choices {
        justify-content: center;
    }
}

@media (max-width:991px) {
    .formation-item, .school-item {
        width: 95%
    }
    .date-button {
        width: 100%;
        margin: 5px;
    }
}

#progressbarRdv li:before{width:20px;height:20px;line-height:20px;font-size:8px;}
#progressbarRdv li:after{top:10px;}
#progressbarRdv li.active:after,#progressbarRdv li.active:before{background:#b9b9b9;}
#date-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-outline-type-entretien {
    color: #000;
    border: 1px solid #c9cace;
    border-radius: 12px 12px 12px 12px;
    padding: 10px;
    margin-left: 7px;
    margin-right: 7px;
    text-transform: none;
    cursor: pointer;
}

.btn-outline-type-entretien:hover {
    outline: #1570EF solid 1px;
    border: 1px solid #1570ef
}

.btn-check:active + .btn-outline-type-entretien,
.btn-check:checked + .btn-outline-type-entretien,
.btn-outline-type-entretien.active,
.btn-outline-type-entretien.dropdown-toggle.show,
.btn-outline-type-entretien:active {
    color: #fff;
    background-color: #0d6efd;
    outline: #1570EF solid 1px;
    border: 1px solid #1570EF
}

.btn-outline-type-entretien.disabled,
.btn-outline-type-entretien:disabled {
    color: #0d6efd;
    background-color: #0d6efd;
}
.enter-next {
    transform: translateX(300%);
    opacity: 0;
}
.enter-prev {
    transform: translateX(-300%);
    opacity: 0;
}

.enter-active {
    transform: translateX(0);
    opacity: 1;
}