:root {
    --light-success: #D5E6D4;
    --light-info: #EAD7EA;
    --light-danger: #F47D70;
}

.SumoSelect.open .search-txt {
    height: 100%;
}

.authority-auction .SumoSelect > .CaptionCont {
    border: 1px solid #BFBFBF;
    border-radius: 6px;
    height: 41px;
    margin: 0;
    cursor: pointer;
    padding: 0 .5em 0 30px;
}

.authority-auction .SumoSelect > .CaptionCont > label {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30px;
    background: none;
    margin: 0;

    border-radius: 6px;
    outline: none;
}

.SumoSelect > .optWrapper > .options li.opt label {
    font-weight: 400;
}

.authority-auction .SumoSelect > .CaptionCont > label:focus-visible {
    border: none;
}

.authority-auction .SumoSelect.open > .CaptionCont {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.authority-auction .SumoSelect:focus .CaptionCont > label {
    border: none;
}

/* Custom chevron for select customization plugins */
.authority-auction .SumoSelect > .CaptionCont > label > i ,
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    width: 6px !important;
    height: 6px !important;;
    display: block !important;;
    position: absolute !important;;
    top: 0 !important;;
    left: 0 !important;;
    right: 0 !important;;
    bottom: 0 !important;;
    border-bottom: 1px solid #BFBFBF !important;;
    border-left: 1px solid #BFBFBF !important;;
    border-right: none !important;;
    border-top: none !important;;
    margin: auto !important;;
    transform: rotate(-45deg) !important;;
}

.authority-auction .SumoSelect > .CaptionCont > span.placeholder {
    background-color: transparent;
    cursor: pointer;
}

/*--------------------*/

@media (min-width: 992px) {
    .page-container {
        padding-right: 4.2em;
    }
}

div.form-check-input {
    border-radius: 0.25em;
}

div.form-check-input.checked {
    background-color: #498DCC;
    border-color: #498DCC;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.d-flex.hidden {
    display: none !important;
}

.restriction_wrapper {
    display: block;
    line-height: 0;
}

@media (max-width: 1400px) {
    .register__fields-row.threshold_condition_document_item .register__field-container {
        width: 100%;
    }
}

.container__for__input__with__button__delete {
    width: 100%;
}

@media (min-width: 768px) {
    .container__for__input__with__button__delete {
        width: auto;
    }
}

/*------------------------- */

.tabs-item-button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px 0 #13124212;
    border: 1px solid #EFF0F6;
    border-radius: 8px;
    padding: 10px 15px;
    background-color: #ffffff;
    text-decoration: none;
    transition: background-color,color,border-color 0.2s ease;
    gap: 10px;
}
.tabs-item-button:hover{
    /*background-color: #f8f9fa;*/
    border-color: #ced4da;
    /*color: #498DCC;*/
}
.tabs-item-button.active {
    background-color: #498dcc;
    color: #ffffff;
}

.tabs-item-button__text {
    color: #000000;
    font-size: 20px;
    transition: color 0.2s ease;
}
.tabs-item-button:hover .tabs-item-button__text {
    color: #498DCC;
}
.tabs-item-button.active .tabs-item-button__text {
    color: inherit;
}

.tabs-item-button__icon {
    width: 2em;
    height: 2em;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #DBE8F5;
}

.tabs-item-button__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tabs-item-button.active .tabs-item-button__icon {
    background-color: #5F9CD2;
}

.tabs-item-button__icon svg .filled-area {
    fill: #ffffff;
}

.tabs-item-button.active svg .filled-area {
    fill: #498dcc;
}

/*.nav-link svg .shadow-container{*/
/*    filter: url("#svgShadow");*/
/*}*/
.tabs-item-button__icon svg .shadow-container {
    /*filter: url("#svgShadow");*/
}
/*------------------------- */
.cursor-pointer{
    cursor: pointer;
}

/* overwrite for enable.co.il */
.enable-contact-info:before {
    content: 'הסדרי נגישות במבנה - אין קבלת קהל';
    display: block;
    margin-bottom: 50px;
}

/*------------------------- */

/*.supplier-authority-fields-block {*/
/*    display: grid;*/
/*     gap: 0 1.5rem;*/
/*    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
/*}*/

/* ---------- old styles ---------- */
.hidden {
    display: none;
}

div.input {
    line-height: 41px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*div.input.disabled{
    background-color: #e6e6e6;
}*/

.input.checkbox {
    -webkit-appearance: checkbox;
    width: 18px !important;
    height: 18px !important;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
}

.checkbox-label {
    flex-direction: row;
    display: flex;
    /*flex-direction: row-reverse;*/
    /*gap: 10px;*/
    align-items: center;
    margin-bottom: 0 !important;
    max-width: max-content;
    width: 100%;
    user-select: none;
}
.checkbox-label .item-label {
    margin-right: .5rem;
}
.checkbox-label.required .item-label:before {
    content: " *";
    color: var(--bs-red);
    font-weight: 300;
}

/*---*/

/* todo: uncomment when message will be requested */
/* todo: remove a duplicate from main.css  */
/*.processing::before{
    content: attr(data-processing-message);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 35px));
    font-weight: bold;
}*/

.processing {
    position: relative;
}

.processing::after {
    content: "";
    background: rgba(0, 0, 0, 0.1) url(/wp-includes/js/tinymce/skins/lightgray/img/loader.gif) no-repeat center center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    /*transform: scale(2);*/
}

.processing_progress::after {
    content: "";
    background: rgba(0, 0, 0, 0.1) url(./front/img/spinner_mid.gif) no-repeat center center;
    background-size: 86px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
}

.processing_progress::before {
    content: attr(data-percent);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border: 1px solid transparent;
    padding: 24px;
    border-radius: 50%;
    background-color: #656565;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}


.profile-block-title{
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: bold;
}


.section--register{
    max-width: 1520px;
    margin: 0 auto;
}

.modal--verification {
    max-width: 550px;
}

.new__button__delete {
    margin: 0;
    padding: 12px;
    height: min-content;
    width: min-content;
    line-height: 0.7;
    border: none;
    background: transparent;
}

.min-w--290 {
    min-width: 290px;
    flex-basis: 0;
}
.min-w--180 {
    min-width: 180px;
    flex-basis: 0;
}
.min-w--160 {
    min-width: 160px;
    flex-basis: 0;
}

.new__universal__table__item .hover-show,
.new__universal__table__item .hover-hide
{
    transition: opacity 0.3s ease;
}

.new__universal__table__item:hover .hover-hide,
.new__universal__table__item .hover-show{
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
    position: absolute !important;
}

.new__universal__table__item:hover .hover-show,
.new__universal__table__item .hover-hide {
    opacity: 1;
    visibility: visible;
    width: initial;
    height: initial;
    position: static !important;
}
