/* custom scrollbar design */
/*  width */
.modal-body-custom::-webkit-scrollbar,
.my-select .dropdown-menu.inner::-webkit-scrollbar,
.custom-select .bootstrap-select .dropdown-menu.inner::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.modal-body-custom::-webkit-scrollbar-track,
.my-select .dropdown-menu.inner::-webkit-scrollbar-track,
.custom-select .bootstrap-select .dropdown-menu.inner::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* Handle */
.modal-body-custom::-webkit-scrollbar-thumb,
.my-select .dropdown-menu.inner::-webkit-scrollbar-thumb,
.custom-select .bootstrap-select .dropdown-menu.inner::-webkit-scrollbar-thumb {
    background: var(--a-theme-blue);
    border-radius: 10px;
}

/* Handle on hover */
.modal-body-custom::-webkit-scrollbar-thumb:hover,
.my-select .dropdown-menu.inner::-webkit-scrollbar-thumb:hover,
.custom-select .bootstrap-select .dropdown-menu.inner::-webkit-scrollbar-thumb:hover {
    background: var(--a-theme-blue);
}

/* custom scrollbar design */

.btn-close.custom {
    color: var(--a-title);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    font-size: 12px;
    border: 1px solid transparent;
    background: var(--a-gray-tint-4) url("../images/icons/close.svg") center/1em auto no-repeat;
    box-shadow: none;
    opacity: 1;
}

.btn-close.custom:hover {
    opacity: 0.7;
}

.modal-header-custom {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0 30px;
    border-bottom: none;
    border-top-left-radius: none;
    border-top-right-radius: none;
}

.modal-dialog-scrollable .modal-body-custom {
    overflow-y: auto;
}

.modal-body-custom {
    position: relative;
    flex: 1 1 auto;
    padding: 25px 30px 30px;
    overflow-y: auto;
    max-height: 700px;
}

.modal-footer-custom {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px 30px;
    background-color: var(--bs-modal-footer-bg);
    border-top: none;
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}

.modal-content {
    border: none;
    outline: 0;
    border-radius: 15px;
    border: 1px solid var(--a-gray-tint-2);
}

.add-project-modal-body>*:not(:last-child) {
    margin-bottom: 10px;
}

.input-number-wrap>*:not(:last-child) {
    margin-right: 10px;
}

.input-number-wrap .a-form-select {
    width: 100%;
    max-width: 90px;
    background-position: right 16px center;
    margin-right: 10px;
}

.a-custom-percentageinput-img {
    position: absolute;
    right: 28px;
    width: 18px;
    height: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-project-modal-body.edit-form-wrap>div:not(:last-child) {
    margin-bottom: 20px;
}

.modal-body-custom input::placeholder {
    font-size: 14px;
    font-weight: 500;
    color: var(--a-gray);
}

.edit-job-post-input {
    min-width: 355px;
    width: 100%;
}

.edit-job-post-input:not(:last-child) {
    margin-right: 20px;
}

.country-code-select .bootstrap-select>.dropdown-toggle {
    min-width: 90px;
    width: 100%;
    padding: 17px 24px 17px 20px;
}

.country-code-select .dropdown-toggle::after {
    right: 20px;
}

.custom-select .bootstrap-select>.dropdown-toggle .spanbadge {
    display: inline-block;
    padding: 5px 9px 5px 8px;
    border-radius: 5px;
    color: var(--a-theme-blue);
    background: var(--a-theme-blue-tint-2);
}

.custom-select .dropdown-menu li .dropdown-item.selected {
    background-color: var(--a-theme-blue);
    color: var(--a-pure-white);
    display: flex;
    align-items: center;
}

.custom-select .bootstrap-select .dropdown-menu.inner {
    max-height: 240px;
    overflow-y: auto;
}

.bootstrap-select.custom-select.show-tick .dropdown-menu .selected span.check-mark {
    position: absolute;
    display: inline-block;
    right: 15px;
    top: unset;
}


.upload-input-wrap .upload-input {
    background-color: var(--a-theme-blue-tint-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--a-theme-blue);
    border-radius: 13px;
    padding: 37px;
    color: var(--a-theme-blue);
}

/* Selectpicker style added by AVN */
.my-select.bootstrap-select.bs-container .dropdown-menu {
    padding: 0;
}

.my-select .dropdown-item {
    padding: 12px 20px;
    color: var(--a-title);
}

.my-select .dropdown-menu li .dropdown-item.selected {
    background-color: var(--a-theme-blue);
    color: var(--a-pure-white);
    display: flex;
    align-items: center;
}

.my-select .dropdown-item.active,
.my-select .dropdown-item:active {
    background-color: var(--a-theme-blue);
}

.my-select .dropdown-item:focus,
.my-select .dropdown-item:hover {
    color: var(--a-title);
    background-color: var(--a-theme-blue-tint-2);
}

.my-select .dropdown-menu.inner {
    max-height: 200px;
    overflow-y: auto;
}

.select-original-space-hidden .select2{
    width: 0.5px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

/* Selectpicker style added by AVN */

/* custom checkbox */
.checkbox-wrap {
    margin-top: 20px;
}

.checkbox-wrap label {
    color: var(--a-title);
}

input[type="checkbox"] {
    height: 24px;
    width: 24px;
    margin-right: 10px;
    padding: 0;
    opacity: 1;
    appearance: none;
    border: 2px solid var(--a-theme-blue);
    border-radius: 6px;
    background: var(--a-pure-white);
    position: relative;
}

input[type="checkbox"]:checked {
    border: 2px solid var(--a-theme-blue);
    background: var(--a-theme-blue);
}

input[type="checkbox"]:checked:before,
input[type="checkbox"]:checked:after {
    content: "";
    position: absolute;
    height: 2px;
    background: var(--a-pure-white);
}

input[type="checkbox"]:checked:before {
    width: 8px;
    top: 11px;
    left: 2px;
    transform: rotate(44deg);
}

input[type="checkbox"]:checked:after {
    width: 14px;
    top: 8px;
    left: 5px;
    transform: rotate(-55deg);
}

input[type="checkbox"]:focus {
    outline: none;
}

/* Hide Calendar Icon In Chrome */
/* input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
} */


/* media query */
@media screen and (max-width:991px) {
    .edit-job-post-input:not(:last-child) {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .add-project-modal-body.edit-form-wrap>div:not(:last-child) {
        margin-bottom: 16px;
    }
}