.alg-tab-items-container .alg-tab-item.active {
    display: block;
}

.form span.mesaj {
    display: none;
}

.alg-show-on-active:not(.active),
.alg-hide-if-empty-container:not(.active),
.alg-hide-if-text-empty-container:not(.active),
.alg-remove-if-empty-container:not(.active),
.alg-hide-if-cookie-true-container:not(.active),
.alg-hide-if-link-empty:not(.active),
.alg-tab-items-container .alg-tab-item:not(.active) {
    display: none !important;
}

.alg-modal:not(.active) {
    z-index: -1;
    visibility: hidden;
    opacity: 0;
}

.alg-modal {
    z-index: 200;
}

.alg-modal-backdrop {
    left: 0;
    top: 0;
    width: 100%;
    position: fixed;
    height: 100%;
    background-color: rgba(25, 25, 25, .2);
    -webkit-backdrop-filter: blur(.5px);
    backdrop-filter: blur(.5px);
    z-index: 190;
}

.alg-set-cookie-true {
    cursor: pointer;
}

.cms-flex {
    display: -webkit-box;
    display: flex;
}

@media (min-width: 768px) {
    .cms-flex-md-3>div {
        width: 33.33333%;
    }
    .cms-flex-md-2>div {
        width: 50%;
    }
    .cms-flex-md-4>div {
        width: 25%;
    }
}

@media (min-width: 992px) {
    .cms-flex-lg-3>div {
        width: 33.33333%;
    }
    .cms-flex-lg-2>div {
        width: 50%;
    }
    .cms-flex-lg-4>div {
        width: 25%;
    }
}

.cms-flex-odd-reverse-container:nth-child(odd) .cms-flex-reverse-item {
    flex-direction: row-reverse !important;
}

.cms-flex-even-reverse-container:nth-child(even) .cms-flex-reverse-item {
    flex-direction: row-reverse !important;
}

.scroll-spy.list-group {
    display: unset;
    flex-direction: unset;
    padding-left: unset;
    margin-bottom: unset;
    border-radius: unset;
}

.scroll-spy .list-group-item {
    padding: unset;
    display: block;
    color: unset;
    background-color: unset;
    border: none;
}

.alg-dropdown select{
    display:none;
}

.alg-dropdown .alg-dropdown-options{
    display:none;
}

.alg-dropdown-label{
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 52px;
    padding: 10px 15px;
    align-items:center;
    cursor: pointer;
    width:150px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    position: relative;
}

.alg-dropdown-label:after{
    content:'';
    background-image: url("/img/caret-down.svg");
    background-repeat: no-repeat;
    position: absolute;
    right: 10px;
    top: 52%;
    transform: translateY(-50%);
    width:15px;
    height:10px;
}

.alg-dropdown .alg-dropdown-options .alg-dropdown-option{
    position: relative;
}
.alg-dropdown .alg-dropdown-options .alg-dropdown-option.selected:before{
    content:'';
    background-image: url("/img/checked.svg");
    background-repeat: no-repeat;
    position: absolute;
    left: -15px;
    top: 52%;
    transform: translateY(-50%);
    width:12px;
    height:10px;
}

.alg-dropdown.active{
    position:relative;
}

.alg-dropdown.active .alg-dropdown-options{
    display:block;
    position:absolute;
    top:0px;
    box-shadow: 10px 10px 24px rgba(0, 0, 0, 0.3);
    border-radius: 22px;
    padding:25px;
    z-index:20000;
    background: #fff;
    min-width:200px;
    max-height:400px;
    overflow:auto;
}

.alg-dropdown.active .alg-dropdown-options a{
    display:block;
    text-decoration:none;
    color: #000;
}

.alg-dropdown.active .alg-dropdown-options a.selected,
.alg-dropdown.active .alg-dropdown-options a:hover{
    display:block;
    text-decoration:none;
    color: #0071CE;
}


.alg-dropdown.active .alg-dropdown-options a:not(:last-child){
    margin-bottom:10px;
}

.draft-switch {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    z-index: 999999;
}

.draft-switch.switch-to-published {
    background: rgba(239, 129, 87,.9)
}

.draft-switch.switch-to-draft {
    background: rgba(107, 208, 152, .9);
}

.draft-switch .close{
    color: black;
    text-decoration:none;
    position:absolute;
    right:15px;
}