﻿/*=== custom dropdown - start ===*/
.custom-dropdown {
    display: inline-block;
    width: auto;
    position: relative !important;
    user-select: none;
}

.custom-dropdown.active{
    z-index:99;
}

.custom-dropdown > select[style*="display:none"] + .custom-dd-display,
.custom-dropdown > select[style*="display: none"] + .custom-dd-display,
.custom-dropdown > select.d-none + .custom-dd-display {
    display: none !important;
}

.custom-dropdown > select {
    border: 0;
    background: transparent;
    outline: none !important;
    padding: 11px 17px;
    height:43px;
    opacity:0;
}

.custom-dropdown.fWidth{
    width:100%;
}
.custom-dropdown.fWidth > select{
    width:100%;
}

.custom-dropdown * {
    user-select: none;
}

.custom-dd-display span.custom-dd-labelWrapper {
    width: calc(100% - 20px);
}

.custom-dd-display {
    padding: 10px 15px;
    color: #505050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: all 0.1s;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 1px solid #E0E0E0;
    background: #FFF;
}
.custom-dd-display:hover,
.custom-dropdown.active .custom-dd-display,
.custom-dropdown.focus .custom-dd-display{
    color:#1F1D43;
    border-color:#1F1D43;
}

.custom-dropdown.dd-bottomBorder .custom-dd-display {
    border-bottom: 2px solid #1F1D43;
}

.custom-dropdown.dd-bottomBorder .custom-dd-display:hover {
    color: #131129;
    border-color: #131129;
}

span.custom-dd-icon {
    display: inline-block;
    vertical-align: top;
    width: 20px;
    float: left;
    margin-right: 7px;
}

.custom-dd-display span.custom-dd-icon svg path {
    stroke: #1F1D43;
    stroke-width: 1.8;
}

.custom-dd-display:hover span.custom-dd-icon svg path {
    stroke: #131129;
}

span.custom-dd-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid;
}

.custom-dd-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    border-radius: 5px;
    border: 1px solid #EEE;
    background: #FFF;
    box-shadow: 0px 3px 10px 0px #B5B5B5;
    display: none;
    z-index: 1;
    min-width: 100%;
}
body > .custom-dd-dropdown{
    position: fixed;
    z-index: 999999;
    display: block;
}
#fileUploadPopup .custom-dropdown.upward .custom-dd-dropdown {
    top: auto;
    bottom: 100%;
}
.custom-dropdown.active .custom-dd-dropdown {
    display: block;
}

.custom-dd-dropdown>ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    max-height: 300px;
    overflow: auto;
}

.custom-dd-dropdown>ul>li {
    width: 100%;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.1s;
    white-space: nowrap;
}

.custom-dd-dropdown>ul>li:first-child {
    border-radius: 5px 5px 0 0;
}

.custom-dd-dropdown>ul>li:last-child {
    border-radius:0 0 5px 5px;
}

#ProductFbCollection .custom-dd-dropdown > ul > li {
    display: flex;
    line-height: 1;
    vertical-align: middle;
    align-items: center;
}

.custom-dd-dropdown>ul>li:hover {
    background: #D6F0FF;
}

span.custom-dd-icon + span.custom-dd-label {
    overflow: hidden;
    width: auto !important;
    display: block;
}
.custom-dd-display span.custom-dd-label {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}
.custom-dd-display span.custom-dd-label, span.custom-dd-arrow {
    color: inherit;
}
.custom-dropdown > select[onmouseover]:not([data-hovered]){
    position: relative !important;
    z-index: 2;
    opacity: 0;
}

/*=== custom dropdown - end ===*/
/*=== custom button - start ===*/
.custom-btn {
    display: inline-block;
    padding: 15px 15px;
    border: 0;
    font-size: 16px;
    line-height: 1;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.1s;
    user-select: none;
    outline: none !important;
    text-align:center;
    text-decoration: none;

}
.custom-btn.btn-block{
    display: block;
    width: 100%;
}
.custom-btn.btn-bold{
    font-weight:600;
}
.custom-btn * {
    user-select: none;
}

.custom-btn.btn-filled {
    background: transparent;
}
.custom-btn.btn-radius{
    border-radius: 48px;
}

    .custom-btn.btn-filled.btn-blue {
        background: linear-gradient(90deg, #663CF6 0%, #7C48EB 25%, #DF7CB5 50%, #FF9774 80%, #FEE89C 100%);
        color: #fff;
        text-decoration: none;
    }

.custom-btn.btn-filled.btn-blue:hover {
    background: linear-gradient(90deg, #663CF6 0%, #7C48EB 25%, #DF7CB5 50%, #FF9774 80%, #FEE89C 100%);
}

.custom-btn.btn-outline.btn-blue {
    border-color: #663CF6;
    background: transparent;
    color: #663CF6;
}

.custom-btn.btn-outline.btn-blue:hover{
    border-color: #663CF6;
    color: #663CF6;
}
.custom-btn.btn-filled.btn-red {
    background: #FC4208;
    color: #fff;
}

.custom-btn.btn-filled.btn-red:hover {
    background: #db4e21;
}

.custom-btn.btn-outline.btn-red {
    border-color: #FC4208;
    background: transparent;
    color: #FC4208;
}

.custom-btn.btn-outline.btn-red:hover {
    border-color: #db4e21;
    color: #db4e21;
}

.custom-btn.btn-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 9px 9px 9px 20px;
}

.custom-btn.btn-icon svg {
}

.custom-btn.btn-icon svg path {
}
.custom-btn.disabled {
    pointer-events:none;
    opacity:0.5;
}

/*=== custom button - end ===*/

/*=== custom checkbox - start ===*/

.custom-checkbox {
    position: relative !important;
}
.custom-checkbox > input {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}
.custom-checkbox > label {
    padding: 9px 15px;
    padding-left: 40px;
    color: #505050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: all 0.1s;
    border-radius: 5px;
    border: 1px solid #E0E0E0;
    background: #FFF;
    margin: 0;
}
.custom-checkbox > input + label:before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    vertical-align: middle;
    float: left;
    margin-top: 2px;
    margin-right: 10px;
    border: 1px solid #E0E0E0;
    position: absolute !important;
    top: 10px;
    left: 13px;
}
.custom-checkbox > input:hover + label:before {
    border-color: #1F1D43;
}
.custom-checkbox > input:hover + label,
.custom-checkbox > input:checked + label{
    background: #eaf7ff;
    color:#1F1D43;
    border-color:#D6F0FF;
}
.custom-checkbox > input:checked + label:before {
    content: "";
    position: absolute !important;
    top: 11px;
    left: 18px;
    display: inline-block;
    transform: rotate(45deg);
    height: 12px;
    width: 6px;
    border: 0;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

/*=== custom checkbox - end ===*/

/*=== custom radio - start ===*/

.custom-radio {
    position: relative;
    margin-right: 0.25rem;
    display: inline-block;
}

.custom-radio > input[type="radio"] {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.custom-radio > input[type="radio"] + label{
    padding: 9px 15px;
    padding-left: 40px;
    color: #505050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: all 0.1s;
    border-radius: 5px;
    border: 1px solid #E0E0E0;
    background: #FFF;
    margin: 0;
}

.custom-radio > input[type="radio"] + label:before{
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    vertical-align: middle;
    float: left;
    margin-top: 2px;
    margin-right: 10px;
    border: 1px solid #E0E0E0;
    position: absolute;
    top: 10px;
    left: 13px;
    border-radius: 100%;
}

.custom-radio > input[type="radio"]:hover + label,
.custom-radio > input[type="radio"]:checked + label{
    color: #1F1D43;
    border-color: #1F1D43;
}

.custom-radio > input[type="radio"]:checked + label:after{
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    vertical-align: middle;
    float: left;
    margin-top: 2px;
    margin-right: 10px;
    position: absolute;
    top: 13px;
    left: 16px;
    border-radius: 100%;
    background: #1F1D43;
}

.custom-radio > input[type="radio"]:hover + label:before,
.custom-radio > input[type="radio"]:checked + label:before{
    border-color: #1F1D43;
}

/*=== custom radio - end ===*/

/*=== custom input - start ===*/

.custom-input {
    padding: 11px 15px !important;
    color: #505050 !important;
    transition: all 0.1s !important;
    width: 100% !important;
    border-radius: 5px !important;
    border: 1px solid #E0E0E0 !important;
    background: #FFF !important;
    outline: none !important;
}
.custom-input:hover,
.custom-input:focus {
    border-color: #0E67E4 !important;
    outline: none !important;
    box-shadow: none !important;
    background: #fff !important;
}

/*=== custom input - end ===*/

/*=== custom search - start ===*/

.custom-search {
    position: relative !important;
}
.custom-search > input {
    border: 0 !important;
    border-bottom: 1px solid #E0E0E0 !important;
    background: #FFF !important;
    padding: 9px !important;
    width: 250px !important;
    outline: 0 !important;
    padding-right: 40px !important;
    border-radius: 0 !important;
    line-height: 1;
    font-size: 14px;
}
.custom-searchIcon {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 40px !important;
    text-align: center !important;
    line-height: 40px !important;
    cursor: pointer !important;
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.custom-search > input:hover{
    border-color:#9b9b9b !important;
}
.custom-search > input:focus{
    border-color:#1F1D43 !important;
}
/*.custom-search > input:focus + .custom-searchIcon svg path{
    fill:#1F1D43 !important;
}*/

/*=== custom search - end ===*/

/*==== Custom scroll - start ====*/
::-webkit-scrollbar,
.glb_popupWrapper *::-webkit-scrollbar,
::-moz-scrollbar,
.glb_popupWrapper *::-moz-scrollbar{
    width: 5px !important;
    height: 5px !important;
    border-radius: 5px !important;
}

/* Track */
::-webkit-scrollbar-track,
.glb_popupWrapper *::-webkit-scrollbar-track,
::-moz-scrollbar-track,
.glb_popupWrapper *::-moz-scrollbar-track{
    background: #f1f1f1 !important;
    border-radius: 5px !important;
}

/* Handle */
::-webkit-scrollbar-thumb,
.glb_popupWrapper *::-webkit-scrollbar-thumb,
::-moz-scrollbar-thumb,
.glb_popupWrapper *::-moz-scrollbar-thumb{
    background: #888888 !important;
    border-radius: 5px !important;
}
/*==== custom scroll - end */

/*==== upload styling - start ====*/

.drop-container {
  position: relative;
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  padding: 20px;
  border-radius: 10px;
  border: 2px dashed #d7d7d7;
  color: #444;
  cursor: pointer;
  transition: background .2s ease-in-out, border .2s ease-in-out;
  margin: 0;
}

.drop-container:hover,
.drop-container.drag-active {
  background: #eee;
  border-color: #a3a3a3;
}

.drop-container:hover .drop-title,
.drop-container.drag-active .drop-title {
  color: #222;
}

.drop-title {
  color: #444;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: color .2s ease-in-out;
}

input[type=file] {
  width: 350px;
  max-width: 100%;
  color: #444;
  padding: 5px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #c3c3c3;
}

input[type=file]::file-selector-button {
  margin-right: 20px;
  border: none;
  background: #575757;
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
  background: #0d45a5;
}

/*==== upload styling - end ====*/