@media (max-width: 768px) {
    #iframeOffcanvas.offcanvas.w-90 {
        width: 100% !important; /* Full width on smaller screens */
        height:105%;
    }
    #iframeOffcanvas.offcanvas.w-40{
        width: 100% !important;
        height:105%;
    }
    #iframeOffcanvas.offcanvas.w-50{
        width: 100% !important;
        height:105%;
    }
    #messageOffcanvas.offcanvas.w-50{
        width: 100% !important;
        height:105%;
    }
    #iframeOffcanvas.offcanvas.w-25{
        width: 100% !important;
        height:105%;
    }
    #iframeOffcanvas.offcanvas.w-75{
        width: 100% !important;
        height:105%;
    }
    #iframeOffcanvas .btn-close.custom-close-button {
        position: absolute;
        top: 5px !important;
        right: 5px !important;
        background-color: white;
        border: 1px solid white;
        border-radius: 0!important;
        width: 10px!important;
        height: 10px!important;
        display: flex ;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .w-90 {
        width: 95% !important; /* Full width on smaller screens */
    }
    .mobile-element-add {
        background: url('/upload/main/element-add.png') no-repeat center center;
        background-size: cover;
        height:60px;
        width:60px;
        bottom: 13px;
        right: 13px;
        opacity: 0.9;
    }
}

@media (max-width: 600px) {
    body {
        background: #F5F7F8 !important;
    }
    .feed-pinned-panel {
        margin-bottom:8px;
    }
    /*for iphone auto zoom*/
    .ql-editor {
        font-size:16px;
    }
    input, textarea, select {
        font-size: 16px;
    }

    .content-page {
        margin-right: 0px !important;
    }
    .navbar-custom {
        padding-left: 0px;
        position: fixed;
        background-color: var(--bs-topbar-bg) !important;
        -webkit-box-shadow: 0 1px 1px rgba(54, 53, 53, .1);

    }
    .top-profile {
        margin-right: 0px !important;
        height:60px !important;
    }
    #col_content {
        padding:5px 15px;
        padding-right:5px !important;
    }
    .content-page {
        padding: 60px 0px 0px 0px;
    }

    .search-bound {
        position: fixed;
        z-index: 1044;
        top: 15px;
        width: auto;
        left: 60px;
        padding: 0;
    }
    html[data-sidebar-size=full]:not([data-layout-mode=horizontal]) .left-side-menu{
        background: #eef2f4 !important;
    }
    .left-side-menu #sidebar-menu>ul>li>a{
        color:#323a46 !important;
        width: 250px;
    }
    .logo-box {
        padding-left: 0px;
    }
    .feed-add-post-form-link {
        margin-right: 5px;
    }
    .item-important .log-item-content-bound {
        padding-right:10px;
    }
    .feed-add-post-form-variants .nav-bordered li a {
        padding: 10px 5px;
    }
    #col_content {
        margin-top: 0px !important;
    }
    #pin_internal_container {
        overflow: hidden;
    }
    .log-item .card-header {
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .log-item-responsible .avatar-md {
        width: 40px;
        height: 40px;
    }
    .log-item-responsible-text {
        margin-left:50px;
    }
    .custom_comment .comment-avatar{
        width: 30px;
        height: 30px;
    }
    .log-item-left {
        width:10px !important;
    }
    #content-table-filter .log-item {
        margin-bottom:8px !important;
    }
    .feed-add-post-form-variants {
        padding-left: 10px;
    }
    .favorite-link i.favorite-active {
        margin-right:0px;
    }
    .favorite-link {
        padding: 5px 10px;
        margin-right: 0px;
    }
    .body-mobile-app .search-bound {
        top: 12px;
        width: 100%;
        padding: 0 30px 0 20px;
        left:0;
    }
    body.body-mobile-app {
        padding-bottom: 0;
    }
    body.body-mobile-app .back-arrow {
        font-size:20px;
    }
    .mobile-app-back {
        display:none !important;
    }
    body.body-mobile-app .mobile-app-back {
        display:block !important;
    }
    body.body-mobile-app .search-list-bound {
        padding-right:20px;
        padding-left:10px;
    }
    .fixed-bottom-mobile {
        position: fixed;
        bottom: 50px;
        left: 0;
        right: 0;
        z-index: 1039;
        background-color: #fff;
        padding: 10px 0px;
    }
    .fc-toolbar .fc-left {
        clear:none;
        float: right;
    }
    .fc-toolbar .fc-center {
        clear:none;
        float: left;
    }
    .fc-view {
        margin-top: 0;
    }
    .navbar-custom .button-menu-mobile {
        width:60px;
        height:60px;
        line-height:60px;
    }
    .create-form-title {
        position: fixed;
        top: 33px;
        z-index: 1056;
    }
}

@media (max-width: 460px) {
    div.content-page div#filter_form {
        /*display:none;*/
        width:100vw;
        position: fixed;
        left: 0;
        /*top: 0; !* Optional: also set to top of screen *!*/
    }
    .smartfilter-bound {
        width:200px !important;
    }
}
@media (max-width: 431px) {
    .smartfilter-bound {
        width:175px !important;
    }
}
@media (max-width: 415px) {
    .smartfilter-bound {
        width:160px !important;
    }
}

@media (max-width: 394px) {
    .smartfilter-bound {
        width:145px !important;
    }
}
@media (max-width: 376px) {
    .smartfilter-bound {
        width:135px !important;
    }
}
@media (max-width: 361px) {
    .feed-add-post-form-variants {
        padding-left: 5px;
        padding-right: 0px;
    }
    .smartfilter-bound {
        width:125px !important;
    }
    .element-list-bound .smartfilter-bound{
        width:170px !important;
    }
    .element-list-bound .search-bound{
        left:65px;
    }
}
@media (max-width: 345px) {
    .smartfilter-bound {
        width:115px !important;
    }
}