/***elements texte - titre***/

.kc-ypareo-form-header-label {
    color: #3b3eef;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
}
.kc-ypareo-form-header-label:after {
    content: '';
    width: 55px;
    margin-left: 15px;
    height: 4px;
    background: #3b3eef;
    display: inline-block;
    vertical-align: middle;
}
/*sous titre gris*/
.kc-ypareo-form-step-subtitle {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    color: #4d4d4d;
    margin-bottom: 15px;
}
/*textes*/
.kc-ypareo-row ul li,
.kc-ypareo-row p {
    font-size: 16px;
    line-height: 20px;
}

.kc-ypareo-row p.small {
    font-size: 14px;
    line-height: 18px;
    color: #3b3eef;
}
/**Formulaire positionnementcolonnes**/
.kc-ypareo-form {
    display: flex;
    gap: 50px;
}

/**Formulaire col left - step inscription**/
.kc-ypareo-form-left {
    position: relative;
}
.kc-ypareo-form-left:before {
    content: '';
    width: 1px;
    position: absolute;
    right: 17px;
    top: 20px;
    bottom: 0;
    background: #2bb5b6;
}
.kc-ypareo-form-left-element {
    display: flex;
    margin-bottom: 40px;
    align-items: center;
    gap: 10px;
    justify-content: right;
}
.kc-ypareo-form-left-label {
    color: #2bb5b6;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-align: right;
    max-width: 140px;
    opacity: 0.5;
}
.kc-ypareo-form-left-element {
    cursor: pointer;
    position: relative;
}
.kc-ypareo-form-left-element .kc-ypareo-form-left-number {
    border-radius: 100px;
    background: white;
    border: 3px solid #2bb5b6;
    color: #2bb5b6;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    width: 35px;
    height: 35px;
    min-width: 35px;
}

.kc-ypareo-form-left-element:hover .kc-ypareo-form-left-number {
    background: #72BE47;
    color: white;
    font-weight: 500;
}

.kc-ypareo-form-left-element.kc_step_ongoing .kc-ypareo-form-left-label,
.kc-ypareo-form-left-element.kc_step_editing .kc-ypareo-form-left-label {
    opacity: 1;
}
.kc-ypareo-form-left-element.kc_step_ongoing .kc-ypareo-form-left-number {
    background: #72BE47;
    color: white;
    font-weight: 500;
}
.kc-ypareo-form-left-element.kc_step_validated .kc-ypareo-form-left-number,
.kc-ypareo-form-left-element.kc_step_editing .kc-ypareo-form-left-number {
    position: relative;
    background: #72BE47;
    color: #72BE47;
    font-weight: 500;
}
.kc-ypareo-form-left-element.kc_step_validated .kc-ypareo-form-left-number::before {
    content: '';
    position: absolute;
    width: 17px;
    height: 12px;
    top: 33%;
    left: 18%;
    background: url('/wp-content/plugins/kc-ypareo-api/assets/img/check.svg');
}
.kc-ypareo-form-left-element.kc_step_editing .kc-ypareo-form-left-number::before {
    content: '';
    position: absolute;
    width: 23px;
    height: 17px;
    top: 20%;
    left: 12%;
    background: url('/wp-content/plugins/kc-ypareo-api/assets/img/in-edition.svg');
}

/**Formulaire col right - champs**/

.kc-ypareo-form-right{
    border-radius:20px;
    padding:45px 50px;
    background:rgba(59, 62, 239, 0.1);
}
.kc-ypareo-form-right .kc-ypareo-form-step {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 25px;
}
.kc-ypareo-form-right .kc-ypareo-form-step-element {
    border-radius: 20px;
    padding: 45px 50px;
    background: #fff;
    border: solid 1px rgba(59, 62, 239, 0.55);
}
.kc-ypareo-form-right .kc-ypareo-form-step-element .kc-ypareo-form-substep-element {
    border-radius: 20px;
    padding: 5px 25px;
    background: rgba(59, 62, 239, 0.05);
    border: solid 1px rgba(59, 62, 239, 0.15);
    margin: 15px 0;
}
.kc-ypareo-form-right .kc-ypareo-form-step-element .kc-ypareo-form-substep-element p {
    margin: 0.5rem 0;
}
.kc-ypareo-form-right .kc-ypareo-form-step-element .kc-ypareo-step-element__bottom{
    display: flex;
    justify-content: center;
}
.kc-ypareo-row {
    margin-bottom: 20px;
}
.kc-ypareo-row .kc-ypareo-form-field-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kc-ypareo-form-step-title {
    font-size: 25px;
    font-weight: 600;
    color: #3b3eef;
    line-height: 30px;
    margin-bottom: 20px;
}
.kc-ypareo-form-step-title:after {
    content: '';
    width: 30px;
    height: 4px;
    background: #3b3eef;
    display: block;
    margin-top: 5px;
}

/**champs requis**/
.kc-ypareo-form-step-required-label {
    font-size: 12px;
    font-weight: 300;
    color: #4d4d4d;
    text-align: right;
}
/*label*/
.kc-ypareo-login label,
.kc-ypareo-row label {
    /* max-width: 175px; */
    font-size: 15px;
    font-weight: 600;
    color: #4d4d4d;
    /* margin-bottom: 5px; */
    display: block;
}
.kc-ypareo-login input,
.kc-ypareo-row select,
.kc-ypareo-row .select2,
.kc-ypareo-row input {
    display: block;
    width: 57%;
    background: white;
    border: 2px solid #3b3eef;
    border-radius: 45px;
    padding: 7px 27px;
    color: #4d4d4d;
    font-weight: 500;
}
.kc-ypareo-row .select2 {
    width: 57% !important;
}
.kc-ypareo-row .select2 .select2-selection {
    border: unset;
}
.kc-ypareo-row .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 13px;
    right: 5px;
}
.kc-ypareo-row input[readonly] {
    background: rgba(211, 211, 211, 0.5);
}
.kc-ypareo-login input::placeholder,
.kc-ypareo-row select::placeholder,
.kc-ypareo-row input::placeholder {
    color: #4d4d4d;
    font-weight: 300;
    font-size: 15px;
    opacity: 0.7;
    letter-spacing: 0.5px;
}
.row-city,
.row-city-rep,
.row-phone,
.row-date,
.row-nationality,
.row-place-birth {
    display: flex;
    justify-content: center;
    column-gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.row-city > div,
.row-city-rep > div,
.row-phone > div,
.row-nationality > div,
.row-place-birth > div,
.row-date > div {
    flex-basis: 0;
    flex-grow: 1;
}

/**boutons radios**/
.row-duree-formation .kc-ypareo-radio{
    width: 30%;
}
.kc-ypareo-radio {
    display: inline-block;
    vertical-align: middle;
    width: 49%;
}
.kc-ypareo-row .kc-ypareo-radio > * {
    display: inline-block;
    vertical-align: middle;
    width: auto;
}
.kc-ypareo-row .kc-ypareo-radio input {
    margin-right: 5px;
}
.kc-ypareo-row .kc-ypareo-radio label {
    font-weight: 300;
    margin: 0;
}
.kc-ypareo-form-indication,
.row-phone > div.kc-ypareo-form-indication {
    font-size: 14px;
    font-style: italic;
    line-height: 18px;
    font-weight: 300;
    flex: 1 1 100%;
    margin-top: 5px;
}
.kc-ypareo-form-indication:before {
    content: '';
    width: 17px;
    height: 17px;
    background: url(/wp-content/plugins/kc-ypareo-api/assets/img/warning.svg);
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.row-phone > div.kc-ypareo-form-indication:before,
.row-phone-rep > div.kc-ypareo-form-indication:before {
    background: none;
    content: none;
}

/***button add***/
.icon-more {
    font-size: 45px;
    font-weight: 500;
    line-height: 30px;
    margin-right: 0;
    width: 30px;
    height: 30px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}
.row-bouton {
    text-align: center;
    margin-top: 40px;
}
button,
.kc-login-submit,
.kc-ypareo-row button,
.kc-ypareo-button {
    padding: 10px 20px;
    background-color: #3b3eef;
    color: white;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Fira sans', sans-serif;
    line-height: 20px;
    border-radius: 100px;
}
button:hover,
.kc-login-submit:hover,
.kc-ypareo-row button:hover,
.kc-ypareo-button:hover {
    background-color: #2bb5b6;
    cursor: pointer;
}

.kc-ypareo-button {
    margin: 15px auto;
}
.kc-ypareo-button:hover {
    color: #fff;
    cursor: pointer;
}
/*boutons -secondaire*/
button.button-secondaire {
    background: transparent;
    padding: 8px 20px;
    border: 2px solid #3b3eef;
    color: #3b3eef;
}
button.button-secondaire:hover {
    color: #fff;
    background-color: #3b3eef;
}
button.kc-ypareo-hide-representant {
    display: flex;
    align-items: center;
}
button.kc-ypareo-delete-file {
    color: #4d4d4d;
    background: none;
    display: flex;
    align-items: center;
}
button.kc-ypareo-delete-file:hover {
    background: #fff;
}

/***depot documents**/
.kc-ypareo-row ul {
    padding-left: 0;
    margin-bottom: 30px;
}
.kc-ypareo-row ul li {
    list-style: none;
    padding-left: 35px;
    margin-bottom: 10px;
    background: url(../img/icon-task.svg);
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 24px;
}

.kc-ypareo-form-img {
    display: inline-block;
    vertical-align: top;
    margin-right: 40px;
    margin-bottom: 30px;
}
legend {
    font-size: 12px;
    font-weight: 300;
    margin: 0;
    display: block;
    color: #4d4d4d;
}

/**form login***/

.kc-ypareo-login button {
    margin-top: 20px;
    display: block;
    width: 100%;
}
.kc-ypareo-login a.link-to-contact {
    width: 50%;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    display: block;
    margin: 10px auto;
    background-color: #3b3eef;
    border-radius: 20px;
}

.kc-ypareo-login button {
    background-image: url('/wp-content/plugins/kc-ypareo-api/assets/img/icon-btn-connect.svg');
    background-size: 45px;
    background-position: left bottom;
    background-repeat: no-repeat;
}
.kc-ypareo-login {
    border-radius: 20px;
    padding: 45px;
    text-align: center;
    /* background: rgba(59, 62, 239, 0.1); */
}

/**input non complété**/
.kc-field-to-completed > label {
    color: #e40043;
}
.kc-field-to-completed input {
    border: 3px solid #e40043;
}
.kc-field-to-completed input:focus {
    border: none;
    border-bottom: 4px solid #e40043;
    outline: none;
}
.kc-field-to-completed .kc-field-to-completed-label {
    color: #e40043;
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
}
/** Step 1 préco UX **/
.kc-ypareo-form-step-element-representant {
    margin-top: 50px;
}
.kc-ypareo-representant .row-title .kc-ypareo-form-step-title {
    font-size: 20px;
}
/** Step 2 **/

.kc-ypareo-form-step-2 .tab-title img {
    transform: rotate(90deg);
    padding-bottom: 2px;
    transition: all 500ms;
}
.kc-ypareo-form-step-2 .tab-title.active img  {
    transform: rotate(270deg);
}

.kc-ypareo-form-step-2 .tab-title .kc-ypareo-row  {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: solid 1px #4d4d4d;
}
.kc-ypareo-form-step-2 .tab-title .kc-ypareo-row .kc-ypareo-form-step-subtitle {
    max-width: 300px;
}

/** Step 3 **/
.kc-ypareo-form-step.kc-ypareo-form-step-3 .kc-ypareo-radio{
    width: 100%;
    display: flex;
    align-items: flex-start;
}
.kc-ypareo-file-list-element {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

/** Step 4 **/
.kc-ypareo-row .kc-ypareo-form-gdpr-text--container {
    border: solid #54595f 1px;
    background: #fff;
    width: 70%;
    padding: 25px 5px;
    margin: auto;
    border-radius: 25px;
}
.kc-ypareo-row .kc-ypareo-form-gdpr-text--container .kc-ypareo-form-gdpr-text {
    margin: auto;
    width: 90%;
    max-height: 300px;
    overflow-y: scroll;
    padding: 0 10px;
}

.kc-ypareo-form-step.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-radio {
    display: flex;
    width: 80%;
    align-items: baseline;
    gap: 15px;
}

.kc-ypareo-form-gdpr-text::-webkit-scrollbar {
    width: 0.5em;
}

.kc-ypareo-form-gdpr-text::-webkit-scrollbar-track {
    border-radius: 50px;
    background: #eaeaea;
}

.kc-ypareo-form-gdpr-text::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background-color: #cbcbcb;
}

.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-in-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 15px;
}
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-in-row .kc-ypareo-form-label {
    font-weight: 600;
}
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-form-step-collapse .kc-ypareo-form-step-close,
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-form-detail-content {
    display: none;
}

.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-form-step-collapse {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-form-step-collapse img {
    transform: rotate(180deg);
    padding-bottom: 2px;
    transition: all 500ms;
}
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-form-step-collapse.active img {
    transform: rotate(0deg);
}

.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-form-step-collapse .kc-ypareo-form-step-open,
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-form-step-collapse .kc-ypareo-form-step-close {
    text-decoration: underline;
}
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-edit-information {
    display: flex;
    gap: 5px;
}
.kc-ypareo-form-step-4 .kc-ypareo-collapse-container {
    width: 100%;
}
.kc-ypareo-form-step-4 .kc-ypareo-collapse-container .kc-ypareo-collapse-title {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.kc-ypareo-form-step-4 .kc-ypareo-collapse-container .kc-ypareo-collapse-title.active .kc-ypareo-form-value img{
    transform: rotate(0deg);
}
.kc-ypareo-form-step-4 .kc-ypareo-collapse-container .kc-ypareo-collapse-title .kc-ypareo-form-value img{
    transform: rotate(180deg);
    margin-left: 5px;
}
.kc-ypareo-form-step-4 .kc-ypareo-collapse-container .kc-ypareo-collapse-content{
    display: none;
}
.kc-ypareo-form-step-element-document-transmission .kc-ypareo-row{
    display: flex;
    flex-direction: column;
}
/** Step 5 **/
.kc-ypareo-form-step.kc-ypareo-form-step-5 .kc-ypareo-row .kc-ypareo-radio{
    display: flex;
    width: 90%;
    align-items: baseline;
    gap: 15px;
}

.kc-ypareo-form-step.kc-ypareo-form-step-5 .kc-ypareo-row .kc-ypareo-radio .dynamique-name-student,
.kc-ypareo-form-step.kc-ypareo-form-step-5 .kc-ypareo-row .kc-ypareo-radio .dynamique-name-representant{
    font-weight: 600;
}
.kc-ypareo-row .kc-ypareo-form-reglement-text--container{
    border: solid #54595F 1px;
    background: #fff;
    width: 100%;
    padding: 25px 5px;
    margin: auto;
    border-radius: 25px;
}
.kc-ypareo-row .kc-ypareo-form-reglement-text--container .kc-ypareo-form-reglement-text{
    margin: auto;
    width: 100%;
    max-height: 350px;
    overflow-y: scroll;
    padding: 0 5px;
}
.kc-ypareo-form-reglement-text::-webkit-scrollbar {
    width: 0.5em;
}

.kc-ypareo-form-reglement-text::-webkit-scrollbar-track {
    border-radius: 50px;
    background: #EAEAEA;
}

.kc-ypareo-form-reglement-text::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background-color: #CBCBCB;
}


/** Step 6 **/
.kc-ypareo-form-right--img-header {
    background-image: url(/wp-content/plugins/kc-ypareo-api/assets/img/participation-frais-bg.svg);
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    font-size: 14px;
    border-radius: 50px;
    padding: 20px 20px 20px 120px;
    margin-bottom: 15px;
}
.kc-ypareo-form-right--img-header .title {
    font-size: 16px;
    font-weight: 600;
}
.kc-ypareo-form-right--img-header .sub-title {
    font-style: italic;
}
.kc-ypareo-form-right--img-header .content p {
    margin-bottom: 0;
}
.kc-ypareo-form-right--img-header .content ul {
    margin-top: 0;
    font-style: italic;
}

.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail {
    background: #fff;
    padding: 25px 15px;
    margin: auto;
    border-radius: 25px;
}

.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-in-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-in-row:not(.kc-ypareo-form-detail-tabs) {
    padding: 5px 35px;
}
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-in-row .kc-ypareo-form-label {
    width: 53%;
    color: #4d4d4d;
    font-weight: 600;
    font-size: 16px;
}
.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-in-row .kc-ypareo-form-value {
    font-size: 16px;
    width: 45%;
    text-align: end;
}

.kc-ypareo-form-step-4 .kc-ypareo-row .kc-ypareo-form-detail .kc-ypareo-row:not(.kc-ypareo-in-row):not(.row-title) {
    display: flex;
    justify-content: center;
}

.droply-icon-cloud-storage {
    display: none;
}
.kc-ypareo-form-step.kc-ypareo-form-step-6 .kc-ypareo-form-detail-5 .kc-ypareo-form-value[data-name="reglement"]{
    width: 100%;
}

.kc-ypareo-popup-confirmation__overlay {
    width: 100vw;
    height: 100vh;
    background: #efefef;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.6;
    z-index: 99;
}

.kc-ypareo-popup-confirmation__container, .kc-ypareo-popup-payment__container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    background: #fff;
    border-radius: 20px;
    padding: 50px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999;
}
.kc-ypareo-popup-confirmation__container .kc-ypareo-popup--title, .kc-ypareo-popup-payment__container .kc-ypareo-popup--title {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}
.kc-ypareo-popup-confirmation__container .kc-ypareo-popup--content, .kc-ypareo-popup-payment__container .kc-ypareo-popup--content {
    display: flex;
    width: 80%;
    justify-content: center;
}
.kc-ypareo-popup-confirmation__container .kc-ypareo-popup--content p strong {
    font-weight: bold;
}
.kc-ypareo-popup-confirmation__container .separator, .kc-ypareo-popup-payment__container .separator {
    width: 30%;
    height: 1px;
    background: #3b3eef;
}

/*** Step Validation ***/

.kc-ypareo-form-validation__container {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
.kc-ypareo-form-validation__container .head .image {
    display: flex;
    justify-content: center;
}
.kc-ypareo-form-validation__container .body {
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.kc-ypareo-form-validation__container .body .header {
    display: flex;
    flex-wrap: wrap;
}
.kc-ypareo-form-validation__container .body .header h4 {
    margin: auto;
}
.kc-ypareo-form-validation__container .body .footer {
    display: flex;
    justify-content: center;
}
.kc-ypareo-form-validation__container .body .footer .get-pdf a {
    display: flex;
    color: #fff;
    gap: 5px;
}

/**
on cache les icone du gestionnaire d'upload
*/
.droply-delete,
.info-icon,
.droply-icon-tick {
    display: none !important;
}

/** Texte indicatif - bouton suivant **/

.kc-ypareo-form-right .kc-ypareo-row-button {
    position: relative;
}

.kc-ypareo-next-text.is-visible {
    display: block !important;
    position: absolute;
    top: 105%;
    right: 50%;
    width: 37%;
    text-align: center;
    font-size: 14px;
    font-style: italic;
    line-height: 18px;
    font-weight: 300;
}

/** Popup étape 3 **/
.step3-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(59, 62, 239, 1);
    opacity: 0.5;
    z-index: 9;
}

.step3-popup__wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 33vw;
    background: #fff;
    padding: 33px;
    border-radius: 25px;
    text-align: center;
    z-index: 99;
}
/* Crop Modal */
.kc-ypareo-crop-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    inset: 0;
    background: rgba(29, 25, 77, 0.2);
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.kc-ypareo-crop-modal {
    /*background: #fff;*/
    padding: 80px 20px;
    border-radius: 16px;
    box-shadow: 0px 16px 40px -8px #585c5f29;
    position: relative;
    /*overflow: hidden;*/
}

.kc-ypareo-crop-modal .kc-ypareo-crop-modal__image {
    display: block;
    max-width: 80vw;
    max-height: 80dvh;
}

.kc-ypareo-crop-modal-overlay:has(.kc-ypareo-crop-modal--visible) {
    opacity: 1;
    visibility: visible;
}
