@media only screen and (max-width: 500px) {

    #search-box {
        display: unset !important;
        min-width: 130px;
    }

    [page-name="SearchBox"]#search-box {
        display: none !important;
        padding-top: 0px !important;
    }
}

.navbar.navbar-static-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.navbar.navbar-static-top>.nav.navbar-nav {
    width: calc( 100% - 130px);
}

.navbar-custom-menu {
    min-width: 130px;
}

.navbar-custom-menu>ul {
    display: flex;
    flex-direction: row;
}

.navbar.navbar-static-top>.nav.navbar-nav>li {
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    color: white;
    overflow: hidden;
    width: calc( 100vw - 130px);
    display: flex;
}

li#envelope_messages>a>i,
li#envelope_notifications>a>i {
    font-size: 24px !important;
}

.navbar-custom-menu {
    padding-top: 0px !important;
    height: 50px;
}

.navbar-custom-menu>ul.nav.navbar-nav>li.dropdown>a {
    height: 50px;
}

.layout-mobile .main-header  {
    height: 50px;
}

@media (max-width: 767px) {
    .fixed .content-wrapper, .fixed .right-side {
        padding-top: 50px !important;
    }
}

.layout-mobile .main-footer,
.layout-mobile .content-wrapper,
.layout-mobile .main-header>.navbar {
    margin-left: 0px !important;
}

.layout-mobile .builder-mobile-title {
    margin-left: 50px;
    font-size: 25px;
    line-height: 50px;
}

@media  (max-width: 576px) {
    .layout-mobile  #adianti_right_panel.right-panel {
        width: calc( 100% - 50px) !important;
    }
}