.mb-wrapper {
    display: flex;
    align-items: flex-start;
    padding-bottom: 25px;
}

.mb-sidebar {
    width: 260px;
    padding: 20px 30px;
    color: var(--e-global-color-text);
    min-height: calc(100vh - 200px);
}

.mb-results-wrapper {
    padding: 20px 20px 0 20px;
    width: calc(100% - 260px);
}

.mb-results-grid {
    display: flex;
    flex-wrap: wrap;
}

@media only screen and (max-width: 979px) {
    .mb-wrapper {
        display: block;
    }

    .mb-sidebar {
        width: 100%;
        min-height: 0;
    }

    .mb-results-wrapper {
        width: 100%;
        padding: 20px;
    }

    .mb-toolbar {
        flex-wrap: wrap;
    }

    .mb-search-bar {
        width: 100%;
        min-width: 100%;
    }

    .mb-wrapper .mb-search-bar input#mb_search_input {
        width: 100%;
    }

    .mb-wrapper .mb-search-bar button {
        margin-right: 0;
    }

    .mb-actions {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 10px;
    }

    .mb-actions button {
        padding: 12px 5px;
    }

    .mb-actions button:last-child {
        margin-right: 0;
    }

    .mb-wrapper .mb-thumbnail {
        width: calc(50% - 10px);
    }

    .mb-wrapper .mb-results-grid {
        width: calc(100% + 10px);
    }

    .mb-popup .mb-popup-inner {
        display: block;
    }

    .mb-popup .mb-popup-image {
        min-width: 100%;
        max-width: 100%;
    }

    .mb-popup .mb-popup-specs {
        min-width: 100%;
        max-width: 100%;
    }

    .mb-popup-wrapper {
        padding-top: 10px;
        align-items: flex-start !important;
    }
}

.mb-active-filters {
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--e-global-color-text);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: -10px;
    flex-wrap: wrap;
}

.filter-title {
    display: block;
    margin-right: 15px;
}

.no-results-container {
    width: 100%;
    color: #fff;
    font-size: 16px;
}

.mb-wrapper button,
.mb-popup-wrapper button {
    border: 0;
    background: var(--e-global-color-20455c9);
    color: white;
    font-weight: 500;
}

.mb-wrapper input#mb_search_input {
    height: 40px;
    border: 0;
    padding: 10px;
    width: 250px;
    outline: none;
}

.mb-search-bar {
    display: flex;
}

button.mb-search-submit {
    margin: 0;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    display: flex;
}

.mb-results-grid button.load-more {
    margin: 20px auto 30px auto;
    padding: 8px 10px;
}

.mb-active-filters .mb-active-filter {
    margin-right: 15px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    text-transform: none;
    background-color: #EBE7DC;
    padding: 8px 10px;
    border-radius: 100px;
}

.mb-active-filter:after {
    content: '';
    margin-left: 5px;
    margin-right: 5px;
    width: 9px;
    height: 9px;
    display: inline-block;
    background: url(../images/close.svg);
    background-size: contain;
}

.mb-tag-parent-inner,
.mb-tag,
.mb-image-type {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.mb-tag-container-toggle {
    cursor: pointer;
    background: url(https://keltuvornixa.online/wp-content/themes/hubsch/assets/frontend/images/arrow-down-white.svg) no-repeat right center;
    background-size: 10px;
}

.mb-tag-container-toggle.open {
    background: url(https://keltuvornixa.online/wp-content/themes/hubsch/assets/frontend/images/arrow-up-white.svg) no-repeat right center;
    background-size: 10px;
}

.mb-tag-container-content {
    display: none;
    margin-bottom: 20px;
}

.mb-thumbnail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(33.3333% - 10px);
    font-size: 0;
    background-color: #fff;
    margin: 0 10px 10px 0;
    cursor: pointer;
    min-height: 400px;
}

.mb-thumbnail.video {
    min-height: 0;
}

.mb-thumbnail.video:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 40px);
    background: url('https://keltuvornixa.online/wp-content/themes/hubsch/assets/frontend/images/play.svg') no-repeat center;
    background-size: 20%;
}

/* .mb-thumbnail video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
.mb-thumbnail button.mb-toggle-button,
.mb-thumbnail button.mb-toggle-button:active,
.mb-thumbnail button.mb-toggle-button:focus {
    position: static !important;
    background-color: var(--e-global-color-20455c9) !important;
    width: 100%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

button.mb-add-to-selection.mb-toggle-button {
    padding: 8px;
}

.mb-toggle-button:before {
    content: "\2013";
    display: inline-block;
    font-size: 14px;
    width: 0.9em;
    height: 0.9em;
    border: 0.1em solid;
    text-align: center;
    border-radius: 50%;
    line-height: .8em;
    box-sizing: content-box;
    margin-right: 3px;
}

.mb-add-to-selection:before {
    content: '+';
}

.mb-thumbnail video,
.mb-thumbnail img {
    display: block;
    margin: auto 0;
}

.mb-greeting {
    color: var(--e-global-color-text);
    font-family: inherit;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 30px;
    margin-top: 0;
}

.mb-subtitle {
    font-family: inherit;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold !important;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.mb-toolbar,
.mb-selection-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mb-selection-actions {
    justify-content: flex-end;
}

.mb-selection-actions button.mb-selection-back-link,
.mb-selection-actions button.mb-selection-back {
    margin-right: auto;
}

.mb-selection-actions button.mb-selection-back-link a:hover,
.mb-selection-actions button.mb-selection-back-link a {
    color: white;
    text-decoration: none;
}

.mb-toolbar button,
.mb-selection-actions button {
    margin-right: 10px;
    padding: 8px 10px;
}

.mb-toolbar button:last-child {
    margin-right: 0;
}

.mb-tag-container-toggle.open {
    font-weight: bold;
}

.mb-tag input[type="checkbox"],
.mb-tag-parent-inner input[type="checkbox"] {
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    margin: 0 10px 0 0;
}

.mb-tag-container .mb-tag-container-content span {
    font-size: 14px;
    line-height: 1.2;
}

h1.mb-selection-title {
    font-size: 40px;
}

.mb-selection-description {
    margin-bottom: 20px;
    max-width: 900px;
}

.mb-share-popup,
.mb-popup-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, .7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-share-popup-content,
.mb-popup {
    position: relative;
    background: #fff;
    width: 1000px;
    max-width: 95%;
    -webkit-box-shadow: 1px 0px 26px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 1px 0px 26px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 1px 0px 26px 0px rgba(0, 0, 0, 0.15);

}

.mb-share-popup-content {
    width: 600px;
    padding: 30px;
}

.mb-share-popup-content h3 {
    padding: 0;
    margin: 0;
    font-family: "Cormorant Garamond", Sans-serif;
    font-size: 30px;
    display: block;
    line-height: 1.2;
    margin-bottom: 20px;
}

.mb-share-popup-content label {
    display: block;
}

.mb-share-popup-content textarea,
.mb-share-popup-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.mb-share-popup-content button,
.mb-share-popup-content button:active,
.mb-share-popup-content button:focus,
.mb-share-popup-content button:hover,
.mb-popup button,
.mb-popup .button,
.mb-popup .button:hover {
    text-decoration: none;
    width: fit-content;
    padding: 0 10px;
    background: var(--e-global-color-20455c9);
    color: #fff;
    font-weight: 500;
    font-size: 12px;
    display: inline-block;
    border: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.mb-share-popup-content button,
.mb-share-popup-content button:active,
.mb-share-popup-content button:focus,
.mb-share-popup-content button:hover {
    font-size: 14px;
    margin-left: 0;
}

.share-buttons {
    display: flex;
}

.share-buttons a,
.share-buttons a:hover {
    color: #fff;
    text-decoration: none;
}

.mb-button-row button {
    margin-right: auto;
    margin-left: 0;
}

.mb-button-row {
    display: flex;
    justify-content: flex-end;
}

.mb-popup-inner {
    position: relative;
    padding: 35px;
    display: flex;
    justify-content: space-between;
}

.mb-popup-image {
    min-width: 48%;
    max-width: 48%;
}

.mb-popup-image video,
.mb-popup-image img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
}

.mb-popup-specs {
    min-width: 48%;
    max-width: 48%;
}

a.mb-close-share-popup,
a.mb-close-popup {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 15px;
    opacity: .5;
    z-index: 1;
}

a.mb-close-share-popup img,
a.mb-close-popup img {
    width: 100%;
    height: auto;
}

.mb-specs-section {
    margin-bottom: 15px;
}

.mb-specs-section h3 {
    font-size: 16px;
    font-family: inherit;
    border-bottom: 1px solid #000;
    font-weight: bold;
    padding-bottom: 5px;
    margin-bottom: 5px;
    margin-top: 0;
}

.mb-specs-section .mb-specs-row {
    display: flex;
}

.mb-specs-section .mb-specs-row .key {
    font-weight: bold;
    display: block;
    margin-right: 5px;
}

.mb-selection-view {
    width: 100%;
}

.mb-selection-view .mb-thumbnail {
    width: calc(25% - 10px);
}

.mb-selection-view .mb-results-grid {
    width: calc(100% + 10px);
}

.lazy-load {
    display: none;
}

.mb-progress-bar-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, .8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-progress-bar-content {
    width: 600px;
    max-width: 95%;
    background-color: #DBCCB5;
    padding: 30px;
}

h3.mb-progress-bar-status {
    padding: 0;
    margin: 0;
    text-align: center;
}

.mb-progress-bar {
    width: 100%;
    height: 40px;
    margin-top: 20px;
    background: #fff;
    position: relative;
}

span.mb-progress-bar-inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: var(--e-global-color-text);
    transition: all .3s linear;
}

.mb-tag-parent .mb-tag-container {
    padding-left: 15px;
    display: none;
}

.mb-tag-parent-inner {
    position: relative;
}

.mb-tag-parent-expand {
    cursor: pointer;
    display: block;
    width: 10px;
    height: 10px;
    background: url(https://keltuvornixa.online/wp-content/themes/hubsch/assets/frontend/images/arrow-down-white.svg) no-repeat right center;
    background-size: 10px;
    position: absolute;
    right: 0;
}

.mb-tag-parent.open .mb-tag-parent-expand {
    background: url(https://keltuvornixa.online/wp-content/themes/hubsch/assets/frontend/images/arrow-up-white.svg) no-repeat right center;
    background-size: 10px;
}

.mb-logout,
.mb-logout:hover {
    color: var(--e-global-color-text);
    text-decoration: none;
    margin-top: 10px;
    display: block;
}

.mb-logout:before {
    content: '';
    position: relative;
    top: 5px;
    background-image: url(../images/account/logout.svg);
    background-position: left center;
    background-size: contain;
    display: inline-block;
    margin-right: 8px;
    width: 20px;
    height: 20px;
}