/*form styles*/
@import url(https://fonts.googleapis.com/css?family=Lobster);

@import url(https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css);

.sign-up-page {
    background-image: url(../../website/img/الخلفية.jpg);
}

#msform {
    position: relative;
}

#msform fieldset {
    /* background: #fff; */
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    position: relative;
}

@media (max-width: 600px) {
    #msform fieldset {
        width: 100%;
    }
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
/* #msform input,
#msform select,
#msform textarea {
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  color: #2c3e50;
  font-size: 13px;
} */

/*buttons*/
#msform .action-button {
    width: 100px;
    background: var(--primary);
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px;
    margin: 10px 5px;
    text-decoration: none;
    font-size: 14px;
}

#msform .action-button:hover,
#msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px var(--primary);
}

/*headings*/
.fs-title {
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
}

.fs-subtitle {
    font-weight: normal;
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    display: flex;
    margin-bottom: 30px;
    margin-top: 60px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 9px;
    width: 25%;
    float: left;
    position: relative;
    text-align: center;
    font-size: 20px;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 40px;
    line-height: 40px;
    display: block;
    font-size: 20px;
    color: #333;
    background: #fff;
    border-radius: 50px;
    margin: 0 auto 5px auto;
    position: relative;
    z-index: 3;
    /* text-align: center; */
}

/*progressbar connectors*/
#progressbar li:after {
    content: "";
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    left: -50%;
    top: 19px;
    z-index: 1;
    /*put it behind the numbers*/
}

#progressbar.right li:after {
    right: -50%;
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,
#progressbar li.active:after {
    background: var(--dark);
    color: white;
}

.form-select.rtl {
    background-position: left calc(0.375em + 0.1875rem) center !important;
}

.profile-pic {
    color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    width: 165px;
    margin: auto;
}

.form-control-img {
    margin: auto;
    width: 172px;
    border: 3px solid #44494e45;
    border-radius: 50%;
}

.form-control-img.is-invalid {
    border: 3px solid rgb(220, 53, 69);
}

.form-control-img.is-valid {
    border: 3px solid #198754;
}

.profile-pic input {
    width: 0;
    /* display: none; */
}

.profile-pic img {
    position: absolute;
    object-fit: cover;
    width: 165px;
    height: 165px;
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    z-index: 0;
}

.profile-pic .-label {
    cursor: pointer;
    height: 165px;
    width: 165px;
}

.profile-pic:hover .-label {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    color: #fafafa;
    transition: background-color 0.2s ease-in-out;
    border-radius: 100px;
    margin-bottom: 0;
}

.profile-pic span {
    display: inline-flex;
    padding: 0.2em;
    height: 2em;
}

.radio {
    display: flex;
    background: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.radio .option {
    background: #fff;
    height: 100%;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    .radio .option {
        width: 40%;
    }
}

@media (max-width: 1000px) {
    .radio .option {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .radio {
        flex-direction: column;
    }

    .radio .option {
        width: 80%;
        margin: 5px 0;
    }
}

.radio .option .dot {
    height: 20px;
    width: 20px;
    background: #d9d9d9;
    border-radius: 50%;
    position: relative;
    margin: 0 5px;
}

.radio .option .dot::before {
    position: absolute;
    content: "";
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    background: #0069d9;
    border-radius: 50%;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s ease;
}

input[type="radio"] {
    display: none;
}

/* .option-1:checked:checked~.option-1,
.option-2:checked:checked~.option-2 {
    border-color: #0069d9;
    background: #0069d9;
} */

.option-1:checked:checked~.option-1 .dot,
.option-2:checked:checked~.option-2 .dot {
    background: #d9d9d9;
}

.option-1:checked:checked~.option-1 .dot::before,
.option-2:checked:checked~.option-2 .dot::before {
    opacity: 1;
    transform: scale(1);
}

.radio .option span {
    font-size: 18px;
    color: #001730;
}

/* .option-1:checked:checked~.option-1 span,
.option-2:checked:checked~.option-2 span {
    color: #fff;
} */

.alert .inner {
    display: block;
    padding: 6px;
    margin: 6px;
    border-radius: 3px;
    border: 1px solid rgb(180, 180, 180);
    background-color: rgb(212, 212, 212);
}

.alert.info .inner {
    border: 1px solid rgb(188, 232, 241);
    background-color: rgb(217, 237, 247);
}

.alert.info .inner,
.alert.info .close {
    color: rgb(58, 135, 173);
}

.alert.warning .inner {
    border: 1px solid rgb(251, 238, 213);
    background-color: rgb(252, 248, 227);
}

.alert.warning .inner {
    color: rgb(192, 152, 83);
}

.right .form-control.is-invalid:not(.phoneNumber),
.was-validated .form-control:invalid {
    background-position: calc(0.375em + 0.1875rem) center;
}

.right .form-control.is-valid:not(.phoneNumber),
.was-validated .form-control:valid {
    background-position: calc(0.375em + 0.1875rem) center;
}

/* .right .form-select.is-invalid,
.was-validated .form-select:invalid {
  background-position: calc(0.375em + 0.1875rem) center;
} */


.select2-results__option[aria-selected], .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 15px !important;
    font-weight: 400;
    padding: .375rem .75rem;
}

.select2-container {
    display: block;
    width: 100% !important;
}

.select2-container .select2-selection--single {
    /* display: flex; */
    /* align-items: center; */
    height: 38px;
    border-radius: .375rem;
    -webkit-border-radius: .375rem;
    -moz-border-radius: .375rem;
    -ms-border-radius: .375rem;
    -o-border-radius: .375rem;
}

.is-invalid~.select2 .select2-selection {
    border-color: var(--bs-danger);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-valid~.select2 .select2-selection {
    border-color: var(--bs-success);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.error {
    color: #dc3545;
    font-size: 18px;
}
