.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    /* Rounded sliders */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    height: 24px;
    width: 100%;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 21px;
    width: 21px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.switch input:checked + .slider {
    background-color: #2962ff;
}

.switch input:focus + .slider {
    -webkit-box-shadow: 0 0 1px #2962ff;
    box-shadow: 0 0 1px #2962ff;
}

.switch input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    transform: translateX(22px);
}

.switch .slider.round {
    border-radius: 34px;
}

.switch .slider.round:before {
    border-radius: 50%;
}

/* css create tutor */
.experiences-trash {
    display: flex;
    align-items: center;
}

.experiences-trash .fa-trash:hover {
    color: red;
    cursor: pointer;
}

.add-experience {
    cursor: pointer;
}

.select2 {
    height: 36px !important;
    width: 100%;
}

.frameImg {
    width: 50px;
    height: 50px;
}

.output-image {
    margin: 30px 0 0 100px;
    position: relative;
}

.remove {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    margin-top: 10px;
    margin-left: -30px;
    border: 1px solid black;
    color: white;
    text-align: center;
    cursor: pointer;
    position: absolute;
}

.remove:hover {
    background: white;
    color: black;
}

.remove::after {
    content: "\2716";
}

.removeVideo {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    margin-top: 10px;
    margin-left: -30px;
    border: 1px solid black;
    color: white;
    text-align: center;
    cursor: pointer;
    position: absolute;
}

.removeVideo:hover {
    background: white;
    color: black;
}

.removeVideo::after {
    content: "\2716";
}

.typeAnswer {
    width: 50%;
    height: 50%;
}

.radio_type_answer img {
    border: solid 2px transparent;
}

.radio_type_answer img:hover {
    cursor: pointer;
    border: solid 2px #3790f1;
}

.radio_active img {
    border: solid 2px #3790f1;
}

.box-img-frame {
    margin: 80px auto;
    position: relative;
    width: fit-content;
    overflow-clip-margin: inherit;
}

.box-edit {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}

.box-edit .input-background-color {
    position: absolute;
    bottom: 0;
}

.box-edit .img-background {
    position: absolute;
    object-fit: contain;
    top: 0;
    left: 0;
}

.box-edit .img-avatar {
    width: 150px;
    height: 150px;
}

.box-edit .img-frame {
    width: 150px;
    height: 150px;
    transform-origin: top left;
    position: absolute;
    top: 0;
    left: 0;
}

.nav-question {
    color: #000;
}

.nav-question.active {
    color: white;
}

.nav-question:hover {
    color: #2c2c2c;
}

.index-question {
    width: 35px;
}

.media-height {
    height: 150px;
}

.fa.icon-green {
    color: green;
}

.fa.icon-red {
    color: red;
}

.max-height-150 {
    max-height: 150px;
}

.box-gallery {
    position: relative;
}

.box-gallery .img-background {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.box-gallery .img-sticker {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.box-gallery .btn-delete-img {
    position: absolute;
    background: gray;
    color: white;
    padding: 0;
}

.box-gallery.background-item .btn-delete-img {
    right: 10px;
}

.box-gallery.sticker-item .btn-delete-img {
    right: 8px;
}

.box-gallery .btn-delete-img:focus {
    box-shadow: none;
}

.box-gallery .btn-delete-img:hover {
    top: 2px;
    transform: scale(1.1);
}

.email-app .custom-control-label {
    position: static;
}

.email-app .mail-compose .header-area {
    padding: 20px;
}

.email-app .mail-details .mail-from-area {
    margin-bottom: 40px;
}

.show-pass-login {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    font-size: 18px;
    cursor: pointer;
    z-index: 100;
}
.preview-image {
    position: relative;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #7983ff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 38%;
    left: 36%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
#search {
    position: relative;
}

#clear_search {
    position: absolute;
    top: 3px;
    right: 20px;
    cursor: pointer;
}

#clear_search i {
    font-size: 20px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}
.file_upload_field {
    border: 1px solid;
    padding: 30px;
    text-align: center;
    border-radius: 30px;
    background: #FAFAFBFF;
    border-width: 2px;
    border-style: dashed;
    border-color: #BCC1CAFF;
    min-height: 221px;
    position: relative;
}

.file_upload_field label {
    cursor: pointer;
}

.file_upload_field label i {
    font-size: 60px;
}

.select2-selection__choice__remove {
    background-color: transparent !important;
}
.custom-modal-xl {
    max-width: 90% !important;
    margin: 1.75rem auto !important;
}

.exercise-component {
    border: 1px solid #BCC1CAFF;
    padding: 12px;
    border-radius: 10px;
}

.exercise-component .title {
    border: 1px solid #7460ee;
    padding: 10px;
    border-radius: 30px;
    color: #7460ee;
    position: relative;
}

.exercise-component .title .remove_exercise {
    position: absolute;
    left: 15px;
    top: 5px;
    font-size: 20px;
    cursor: pointer;
}
.select2-selection__choice {
    background-color: #7460ee !important;
}
.clear_filter {
    position: absolute;
    top: 3px;
    right: 20px;
    cursor: pointer;
}

.clear_filter i {
    font-size: 20px;
}
.select2-container .select2-search--inline .select2-search__field {
    padding-left: 5px !important;
    /* Adjust the padding as needed */
}

#previewImg {
    width: 45%;
    height: 40%;
}