/* overlay */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/**
* Form
*/
.left-side {
    flex: 1;
    display: flex;
    align-items: center;

}


/* 
* Register form
*/
.register-form-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.register-form {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 100%;
    padding: 1rem;
    max-width: 600px;
    /* text-align: center; */
    background: yellow;
    margin: 0 auto;
    border-radius: 50px;
    background: var(--card_background_orange);
}

.register-form .register-hide {
    display: none !important;
}

.register-form .show-register {

    display: flex !important;
}

.register-form .btn-close {
    justify-content: right;
    width: 100%;
    padding-right: 2rem;
}



/* 
* Profil form
*/
.profil-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;


}


/* 
* Update form
*/
.update-form .profil-hide {
    display: none !important;
}

.update-form .show-update {

    display: flex !important;
}



/* 
* Form Elements
*/

.register-form .input-container {
    background: white;
    height: 35px;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    box-sizing: border-box;
}


/* password */
.register-form .password-container {
    margin-bottom: 0 !important;
}

.profil-form .form-element {
    display: flex;
    font-size: var(--font-size-x1dot2);
    margin: 0.5rem 0;
}

.profil-form .form-element input {
    flex: 1;
}


/* activities required */
.select2-selection {
    background: none !important;
    border: none !important;
}


/* Infos required */
#infos-required {
    width: 80%;
    margin-bottom: 1rem;
}


/* CV */
#cv-preview {
    display: inline-block;
    width: 200px;
    height: 250px;
    /* background-color: pink; */
    margin: 0 auto;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    border: 1px solid #f1b68e;
    font-size:3rem;

}

.profil-a-form #cv-preview:hover {

    /* border: 5px solid;
    border-color: violet; */

}


/*  Thumbnail */
.profil-form #thumbnail-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #ffe5d3;
    background-color: beige;
    margin: 0 auto;
    background-position: center;
    background-size: cover;
    box-shadow: inset;
    box-shadow: 3px 3px 0px rgb(255 255 255);
    border: 4px solid #f1b68e;
    padding: 1rem;
    display: flex
;
    justify-content: center;
    align-items: center;
    align-items: center;
    color: #f1b68e;
    font-size: 3rem;

}

.profil-form #thumbnail-preview:hover {

    border-color: rgb(255, 255, 255);
}

.profil-form #thumbnail-file,
#cv-file {
    display: none;
}

.profil-form #thumbnail-group {
    cursor: pointer;
    margin-bottom: 0.6rem;

}


/*
* Password
*/
.profil-form .icon-input-pwd-eye {
    display: none;
    /* position: absolute; */
    /* line-height: 100%; */
    /* vertical-align: middle; */
    /* transform: translateY(-50%); */
}


/*
/* Register
*
***/
.register-form #save-register {
    padding: 0.5rem 1rem;
    background-color: #bfbfbfed;
    color: black;
    border: 1px solid grey;
    margin-top: 2rem;
}






/*
/* Update Form 
*
***/
.update-form{
    min-width: 350px;
    /* max-width: 350px; */
    box-sizing: border-box;

}

#profil-container .profil-form.update-form .form-element {
    font-size: 1rem;
}

.update-form #infos-required {
    display: flex;
    justify-content: end;
    width: 100%;
    margin-bottom: 0rem;
    font-size: 0.8rem !important;
    display: none;

}


.update-form .form-element {
    display: flex;
    /* font-size: var(--font-size-x1dot2); */
    margin-top: 0.5rem;
    margin-bottom: 0rem;
}

.update-form .input-container {
    padding: 0.5rem;
    background-color: #fdf0e1;

    /* for borderless input container */
    border: none;
    /* border-bottom: 2px dashed #fbb88a; */
    border-radius: 0;
    padding-bottom: 0;
    background-color: transparent;

}

.update-form .input-container i {
    font-size: 1.1rem;
    color: #282828;
}

.update-form .input-container input {
    border: none;
    background: transparent;
    flex: 1;
    /* width: auto; */
    /* min-width: 80%; */
    padding-left: 5px;
    box-sizing: border-box;
    max-width: 100%;
    border: none;
    background: transparent;
    flex: 1;
    /* width: auto; */
    /* min-width: 80%; */
    padding-left: 5px;
    box-sizing: border-box;
    max-width: 100%;
    border-bottom: 1px dashed #e7a578;
    font-family: Roboto;
    font-size: 1rem;
}


.update-form .input-container.input-fullname {
    border: none;
    /* border-bottom: 2px dashed #fbb88a; */
    border-radius: 0;
    padding-bottom: 0;
    background-color: transparent;
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 0rem;
    font-size:1.2rem;
    flex:0 0 20px;
}

.update-form  .input-fullname .left-side{
justify-content: center;
}

.update-form  .icon-input-pwd-eye-slash, .update-form  .icon-input-pwd-eye{
    border-bottom: 1px dashed transparent;

}

.update-form #fullname {
    text-align: center;
}


.update-form .activities-container .select2-container {
    width: 100% !important;
    background: #f5f2f2;
    padding: 0.5rem;
    border-radius: 5px;
}


.update-form #title-cv {
    font-size: 1.45rem;
    margin-top: 2.5rem;
    gap: 0.5rem;
    padding: 0;
    text-align: center;
}

.update-form #cv-group {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.update-form #cv-preview {
    display: inline-block;
    width: 200px;
    height: 250px;
    /* background-color: pink; */
    margin: 0 auto;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    border: 4px solid #f1b68e;
}

.update-form .update_buttons {
    display: flex;
    justify-content: center;
    margin-top: 1rem !important;
}

.update-form .required {
    position: relative;
}

.update-form  .required:after {
    content: '*';
    color: red;
    font-size: 0.7rem;
    position: absolute;
    right: 0;
    top: 0;
    translate: 100% -50%;
}


.update-form small {
    font-size: 0.7rem;
    font-style: italic;
}





