html {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}
body.guzema-crm {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

body.guzema-crm .woocommerce-layout__header {
    display: none!important;
}

body.guzema-crm iframe {
    display: block;
    width: 100%;
    height: calc(100vh - 71px)!important;
    border: none;
}

body.guzema-crm .woocommerce {
    padding: 40px 0;
}

body.guzema-crm .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.guzema-crm .main {
    flex-grow: 1;
}

body.guzema-crm .bread-title {
    display: none;
}

body.guzema-crm .woocommerce-embed-page .wrap {
    padding-left: 0!important;
}

body.guzema-crm.admin-bar iframe {
    /* height: calc(100vh - 159px)!important; */
}

iframe body {
    overflow: auto;
}
.wp-toolbar body {
    overflow: auto;
}

#tidio-chat {
    display: none!important;
}

.needsclick {
    display: none!important;
}

/* #adminmenumain, #adminmenuback, #adminmenuwrap, #wpadminbar, #wpfooter, #screen-meta, .update-nag { display: none !important; }
#wpcontent, #wpbody-content { margin-left: 0 !important; padding-top: 0 !important; } */

.wp-admin-bar-vgca-direct-frontend-link {
    display: none!important;
}
.crm-container {
    padding-left: 20px;
    padding-top: 20px;
}
.d-flex {
    display: flex;
}
.header-logo .logo-link {
    height: 48px;
    border-right: 1px solid #747f89;
    padding: 14px 20px;
}
.header-logo .logo-link img {
    height: 100%;
    width: auto;
}
.logo-link {
    text-decoration: none;
    align-items: flex-end;
}

header .ts-main-title {
    line-height: 1;
    margin-bottom: 0;
}
header .ts-title-home {
    line-height: 1;
    margin-bottom: 6px;
}
.container {
    padding: 0 20px!important;
}

.header-nav-menu {
    list-style: none;
}

.header-nav-menu .menu-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.header-nav-menu .menu-item > a .imaged-item {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-nav-menu .menu-item > a .imaged-item svg {
    width: auto;
    height: 100%;
    fill: #c0c4c8;
}
.header-nav-menu .menu-item-has-children {
    position: relative;
}
.header-nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
}
.header-nav-menu .menu-item-has-children .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    transition: visibility .35s, opacity .35s, transform .35s, -webkit-transform .35s;
    background-color: rgba(29, 35, 41, 0.8);
    min-width: 100%;
    border-top: 2px solid #747f89;
    padding: 4px 0;
}

.header-nav-menu > li > a {
    padding: 14px 20px;
    border-right: 1px solid #747f89;
    font-size: 15px;
}
.header-nav-menu > li {
    transition: background-color .35s;
}
.header-nav-menu > li:hover {
    background-color: #2471b2;
}
.header-nav-menu > li > a > svg {
    transform-origin: center center;
    transition: transform .35s, -webkit-transform .35s;
    width: 10px;
    height: auto;
    position: relative;
    top: 1px;
}
.header-nav-menu > li:hover > a > svg {
    
    transform: rotate(-180deg);
}
.header-nav-menu > li.current-menu-item {
    background-color: #2471b2;
}
.header-nav-menu .menu-item-has-children .sub-menu li a {
    font-size: 13px;
    padding: 9px 11px;
    font-weight: 500;
    color: #c0c4c8;
    transition: color .35s;
}
.header-nav-menu .menu-item-has-children .sub-menu li a:hover {
    color: white;
}

.header-nav-menu .menu-item-has-children .sub-menu li a.active {
    color: white;
}

.header-inner {
    color: white;
    background-color: #1d2329;
    border-bottom: 2px solid #747f89;
    height: 50px;
}

.header-inner .header-actions {
    margin-left: auto;
    
}
.header-inner .header-actions svg {
    fill: #c0c4c8;
    width: 20px;
    height: auto;
    transition: fill .35s;
}
.header-inner .header-login {
    gap: 10px;
    align-items: center;
    padding: 0 20px;
    border-left: 1px solid #747f89;
}
.header-inner .header-actions .button-logout {
    align-items: center;
    gap: 10px;
    text-decoration: none;
    display: flex;
    padding: 14px 0;
}
.header-inner .header-actions .button-logout:hover svg {
    fill: white;
}

.header .header-inner svg path {
    stroke: #c0c4c8;
}

.action-burger-toggle {
    display: none;
}
@media (max-width: 1220px) {
    .header-nav-menu > li > a { 
        border: none;
    }
    .header-nav-menu .menu-item-has-children .sub-menu li a {
        padding: 9px 20px;
    }
    .header-nav-menu > li:hover {
        background-color: transparent;
    }
    .header-nav-menu > li > a.open { 
        background-color: #2471b2;
    }
    .header-nav-menu > li.current-menu-item {
        background-color: transparent;
    }
    .header-nav-menu > li.current-menu-item > a {
        background-color: #2471b2;
    }
    .action-burger-toggle {
        display: block;
        height: 48px;
        width: 64px;
        position: relative;
        padding: 15px 20px;
        border-left: 1px solid #747f89;
        cursor: pointer;
    }
    .action-burger-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #c0c4c8;
        border-radius: 10px;
        position: absolute;
        left: 20px;
        transition: transform .35s, width .35s;
        transform-origin: center center;
        &:nth-child(1) {
            top: 15px;
            transform-origin: left center;
        }
        &:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
            transform-origin: left center;
        }
        &:nth-child(3) {
            bottom: 14px;
            transform: translateY(-100%);
            transform-origin: left center;
        }
    }
    .header-menu { 
        left: -100%;
        background-color: rgba(29, 35, 41, 0.8);
        position: absolute;
        top: 100%;
        overflow-y: auto;
        height: calc(var(--vh, 1vh) * 100 - 50px);
        width: 100%;
        max-width: 400px;
    }
    body.admin-bar .header-menu { 
        height: calc(var(--vh, 1vh) * 100 - 82px);
    }
    .header-nav-menu {
        flex-direction: column;
    }
    .header-nav-menu .menu-item-has-children .sub-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    
        &.open {
            display: block;
        }
    }
    .header-nav-menu .menu-item-has-children {
        > a.open {
            > svg {
                transform: rotate(-180deg);
            }
        }
    }
    .header-menu.transition {
        transition: left .35s;
    }
    .header-nav-menu > li:hover > a > svg {
        transform: rotate(0deg);
    }
}
@media (max-width: 743px) {
    .header-menu { 
        max-width: calc(100% - 64px);
    }
    body.admin-bar .header-menu { 
        height: calc(var(--vh, 1vh) * 100 - 50px);
    }
    body.guzema-crm.admin-bar iframe {
        height: calc(100vh - 71px) !important;
    }
}

body.menu-open {
    .header-menu {
        left: 0;
        opacity: 1;
        pointer-events: all;
    }
    .header-overlay {
        display: block;
        animation: fade_in_show 0.5s;
        z-index: 5;
    }
    .action-burger-toggle {
        span {
            &:nth-child(1) {
                transform: rotate(45deg);
            }
            &:nth-child(2) {
                opacity: 0;
                width: 0;
            }
            &:nth-child(3) {
                transform: rotate(-45deg);
            }
        }
    }
    .header-overlay {
        display: block;
        animation: fade_in_show .5s;
    }
}

.header-overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: none;
    opacity: 1;
}

@keyframes fade_in_show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* .crm-type-stock-view .wp-heading-inline, */
/* .crm-type-stock-view .page-title-action, */
/* .crm-type-stock-view #post-body-content */
/* .crm-type-stock-view .postbox.acf-postbox {
    display: none!important;
} */



.post-type-stock-move .row-actions .inline, 
.post-type-stock-move .row-actions .trash,
.post-type-stock-move .row-actions .duplicate_post,
.post-type-stock-receipt .row-actions .inline, 
.post-type-stock-receipt .row-actions .trash,
.post-type-stock-receipt .row-actions .duplicate_post,
.post-type-orders .row-actions .inline, 
.post-type-orders .row-actions .trash,
.post-type-orders .row-actions .duplicate_post,
.post-type-stock .row-actions .inline, 
.post-type-stock .row-actions .trash,
.post-type-stock .row-actions .duplicate_post
{
    display: none!important;
}