/*
CSS for V3 Dashboard Widget Framework
*/




/* general layout variables */

body {
    --form-label--weight: 500;

    --form-input--borderradius: 8px;
    --form-bottom-margin: .5rem;

    ---form-input--padding: .5rem .75rem;

    --form-block--marginbottom: 1rem;

    --color--sedp-dblue: #1975BC;
    --color--status-danger: #F8285A;
}


/* for now, new styles for 'v3 design system' will be inherited from their parent
card container (.s-card) */

/* bsf = bootstrap fix -- TD: see if there is a better way to handle this. */

.s-card {
    background: white;
    border-color: rgb(241, 241, 244);
    border-radius: 18px;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 3px 4px 0px;
    padding: 2rem;
    margin-bottom: 1rem;

    .s-cart-title {
        font-weight: 300;
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    label h1 {
        font-size: 1rem;
    }

    &.--no-chrome {
        border: none;
        box-shadow: none;
        background: none;
    }

}

.s-card,
.s-v3x {

    .bsf-button-secondary {
        
        border-width: 2px !important;
        border-style: solid  !important;
        transition: box-shadow .25s;
        background: rgba(255,255,255,.9);
        &.--blue {
            border-color: var(--color--sedp-dblue) !important;
            color: var(--color--sedp-dblue)  !important;
            i.fas {
                color: var(--color--sedp-dblue)  !important;
            }
        }
        &.--blue:hover {
            box-shadow: inset var(--color--sedp-dblue) 0px 0px 0px 1.5px !important;
        }
        &.--red {
            border-color: var(--color--status-danger) !important;
            color: var(--color--status-danger)  !important;
            i.fas {
                color: var(--color--status-danger)  !important;
            }

        }
        &.--red:hover {
            box-shadow: inset var(--color--status-danger) 0px 0px 0px 1.5px !important;
        }
    }
    
    .row.row-bottom-divider {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid #e6e6e6; 
    }

    .row.row-top-divider {
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid #e6e6e6; 
    }

    /* fixing some inconsistencies and anomolies with our particular install of bootstrap */

    .form-select,
    .form-control {
        border-radius: 8px;
        &::placeholder {
            font-style: italic;
        }
    }
    
    .form-check {
        padding-top: .5rem;
        .form-check-label {
            margin-left: .25rem;
            font-weight: normal;
            color: black;
        }
    }

    label {
        font-size: 16px;
        padding-left: 4px;
        padding-bottom: 4px;
        font-weight: bold;
    }

}

/* card flip */



.flipcard {
    position: relative;
    perspective: 500px;
}

.flipcard-content {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.flipcard:hover .flipcard-content {
    transform: rotateY( 180deg ) ;
    transition: transform 0.5s;
}

.flipcard-front,
.flipcard-back {
    position: absolute;
    height: 100%;
    width: 100%;
    /* background: white;
    line-height: 300px;
    color: #03446A;
    text-align: center;
    font-size: 60px;
    border-radius: 5px; */
    backface-visibility: hidden;
}

.flipcard-back {
    /* background: #03446A;
    color: white; */
    transform: rotateY( 180deg );
}





.swidget { /* all widgets should use this class around the parent element to declare it as a Sensible EDP widget */
    /* 
    global variables and styles shared by all widgets will go here
    */
    
    position: relative;

    box-sizing: border-box;
    --fs-xs: .75rem;
    --fs-s: .875rem;
    --fs-base: clamp(1rem, 0.08vi + 0.98rem, 1.06rem);
    --fs-l: clamp(1.2rem, 0.17vi + 1.16rem, 1.33rem);
    --fs-xl: clamp(1.44rem, 0.29vi + 1.37rem, 1.66rem);
    --fs-xxl: clamp(1.73rem, 0.46vi + 1.61rem, 2.08rem);
    --fs-xxxl: clamp(2.07rem, 0.69vi + 1.9rem, 2.59rem);
    --fs-xxxxl: clamp(2.49rem, 1.01vi + 2.24rem, 3.24rem);
    .--fs-xs { font-size: var(--fs-xs) };
    .--fs-s { font-size: var(--fs-s) };
    .--fs-base { font-size: var(--fs-base) };
    .--fs-l { font-size: var(--fs-l) };
    .--fs-xl { font-size: var(--fs-xl) };
    .--fs-xxl { font-size: var(--fs-xxl) };
    .--fs-xxxl { font-size: var(--fs-xxxl) };
    .--fs-xxxxl { font-size: var(--fs-xxxxl) };

    --clr-status-red: #FF6353;
    --clr-status-yellow: #E3CB44;
    --clr-status-green: #9CD36B;
    --clr-status-neutral: #B4DBF1;
    --clr-status-offline: #D3D3D3;

}

.swidget-skittles {

    .sw-skittle-configbutton {
        height: 36px;
        width: 36px;
        overflow: hidden;
        button {
            background: none;
            border: none;
            margin: 0;
            width: auto;
            overflow: visible;
            background: rgba(255,255,255,.3);
            padding: 4px 8px;
            border-radius: 4px;
            transition: background .3s;
            &:hover{
                background: rgba(255,255,255,.6);
            }
        }
        i {
            color: black;
        }
    }


    min-height: 115px;
    height: 100%;
    .sw-skittle-container {
        /*Nick added these, can destroy if need*/
        height: 100%;
        width: 100%;
        gap: 0;

        color: black;
        border-radius: 8px;
        border: 1.5px solid rgba(0,0,0,.15);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 0px;
        grid-row-gap: 0px;

        
        .-title {
            padding: 16px;
            padding-bottom: 8px;
            grid-area: 1 / 1 / 2 / 4; 
            span {
                opacity: .6;
                margin-right: .25rem;
            }
            h3 {
                font-weight: 300;
                display: flex;
                align-items: start;
                .k-icon {
                    padding-top: 5px;
                }
                span {
                    min-width: 0px; /* enables word wrap */
                }
            }
        }
        .-status-icon {
            padding: 16px;
            padding-bottom: 0px;
            grid-area: 1 / 4 / 2 / 5; 
            display: flex;
            flex-direction: row;
            justify-content: end;
            
            opacity: .75;
            i {
                color: black !important;
            }
        }
        .-value {
            display: grid;
            align-items: end;
            padding-left: 16px;
            padding-bottom: 10px;
            grid-area: 2 / 1 / 4 / 3; 
            font-weight: 500;
            line-height: 1rem;
            white-space: nowrap;
        }
        .-sparkline {
            padding-right: 16px;
            padding-bottom: 16px;
            grid-area: 2 / 3 / 4 / 5;
            display: grid;
            justify-content: end;
            align-items: end;
        }

        svg {
            opacity: .25;
            g g g g path { /* a little hacky...to style the Kendo sparkline */
                stroke: #000;
                stroke-width: 3px;
            }
        } 
        
        &.--bgnd-red {
            background-color: var(--clr-status-red);
            .-status-icon span {
                animation: pulse 5s infinite;
                animation-timing-function: ease-in-out;
            }
        }
        &.--bgnd-yellow {
            background-color: var(--clr-status-yellow);
        }
        &.--bgnd-green {
            background-color: var(--clr-status-green);
        }
        &.--bgnd-neutral {
            background-color: var(--clr-status-neutral);
        }
        &.--bgnd-offline {
            background-color: var(--clr-status-offline);
        }

        &.--pulse {
            .-status-icon {
                animation: pulse 5s infinite;
                animation-timing-function: ease-in-out;
            }
        }
    }
    
}


/* animations */

@keyframes pulse {
    45% {
        scale: 1;
    }
    50% {
        scale: 1.2;
    }
    55% {
        scale: .95;
    }
    60% {
        scale: 1;
    }
  }

/* misc */
.debug_note {
    font-size: 8px;
    padding: 2px; 
    display: inline-block;
    position: absolute;
    background: white;
    opacity: .5;
    border: 2px solid black;
    border-radius: 4px;
    top: 4px;
    left: 4px;
}



/* kendo over-rides */
.kendofix .k-grid {
    .k-table {
        border-collapse: collapse;

        .k-table-row {
            border-bottom: 1px solid #ddd;
            &.k-table-alt-row {
                background-color: inherit;
            }
        }

        .k-table-td {
            border-inline-start-width: 0px;
        }
    }

    .k-table-md {
        font-size: 14px !important;
    }

    .k-table-th.k-header {
        font-weight: bold;
    }

    &.k-grid-md .k-table-td {
        padding-block: 1.25rem;
    }
}

/* -- classes are added to over-ride existing k- styles */
.--ktile-h100 {
    height: 100%;
}
.--ktile-nostyle,
.--ktile-nostyle .k-card-body,
.--ktile-nostyle .k-card  { /* remove default kendo tile grid card styles */
    padding: 0 !important;
    background: white !important;
    border-radius: 0px !important;
}

@media only screen and (max-width: 768px) {
    .--ktile-responsive {
        display: flex;
        flex-direction: column;
        .k-tilelayout-item {
            flex: 1;
        }
    }   
}   



.kendofix { /* add this class around parent container to style Kendo elements like bootstrap */
    .k-picker.k-dropdownlist {
        background: white;
        border-radius: 8px;
        .k-input-value-text {
            font-size: 1.1rem;
        }
        .k-input-button {
            padding-right: 1rem;
        }
        .k-i-caret-alt-down {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
            scale: .8;
            opacity: .6;
            &::before {
                content: none;
            }
        }
    }
    .k-input-md,
    .k-picker-md {
        .k-input-inner {
            padding: .775rem 3rem .775rem 1rem !important;  
        }
    } 
    .k-datetimepicker .k-input-button {
        width: 3rem;
    }
    &.form-group {
        label {
            display: block;
        }
    }
}
    
/* for styling kendo panel bar (accordian) */

/* style1 = example use on EtO config screen */
.--kpanelbar-style1 {
    .k-panelbar {
        overflow: hidden;
    }
    .k-panelbar > .k-panelbar-header > .k-link {

        background: #e6e6e6;
        font-size: 1.4rem;
        color: black;

        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: row; 
        gap: 1rem;
        .k-panelbar-toggle {
            order: 1;
            margin-inline-start: revert;
        }
        .--header-content {
            order: 2;
            width: 100%;
            align-items: center;
            display: flex;
            flex-direction: row; 
            button {
                margin-left: auto;
            }
        }
        &.k-hover {
            background: #cecece;
        }
    }
    .k-panelbar {
        .k-panelbar-header {
            background: rgba (0,0,0,.15);
        }
        border: none;
        li {
            border: 1px solid #e6e6e6;
            border-radius: 8px;
            margin-bottom: 1rem;
        }
        .k-panelbar-content {
             border-radius: 8px;
        }
    }

    .k-content {
        border: none;
    }

}


/* global bug fixes */
/*.MicrosoftMap .infobox-close {
    border: none !important;
    width: 20px !important;
    height: 20px !important;
}*/

.dashboardWidget {
    overflow-y: scroll;
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* MARK: new left nav
 */


body {
    /* vars */
    --sidebar-closed-width: 60px;
    --sidebar-open-width: 300px;
    --color-sidebar-background-rgb: 44 41 75;
    --sidebar-item-padding: 5px;
}

/* legacy code wrapping the rest of the page (right column) */
#kt_wrapper { 
    padding-left: var(--sidebar-closed-width);
    transition: padding-left .3s ease-in-out;
}
.--pinned #kt_wrapper {
    padding-left: var(--sidebar-open-width);
}
.header-fixed[data-kt-sticky-header=on] .header {
    left: var(--sidebar-closed-width) !important;
}
.--pinned.header-fixed[data-kt-sticky-header=on] .header {
    left: var(--sidebar-open-width) !important;
}

.npa-skipLink {
        position: absolute;
        display: inline-block;
        z-index: 1001;
        top: 2rem;
        left: -1000px;
        font-size: 1.5rem;
        padding: .5rem;
        overflow: hidden;
        background: rgb(var(--color-sidebar-background-rgb));
        color: white;
        font-weight: bold;
        border-radius: 4px;
    }
.npa-skipLink:focus {
        left: 2rem;
    }

#new-page-aside {
    /* resets */
    interpolate-size: allow-keywords;
    box-sizing: border-box;
    ul, li { 
        list-style: none;
        padding: 0;
        margin: 0;
    }
    button {
        background: none;
        border: none;
        padding: 0px;
        margin: 0px;
        text-align: left;
    }

    width: var(--sidebar-closed-width);
    transition: width .3s ease-in-out;
    overflow: hidden;
    position: fixed;
    height: 100%;
    background: rgb(255 255 255 / .5);
    backdrop-filter: contrast(40%);
    z-index: 1000; /* TODO: double-check this (better way to ensure this is always top? */

    /* keyboard focus */
    *:focus {
        outline: none;
    }
    *:focus-visible { 
        outline: 2px solid orange;
        outline-offset: -2px;
        box-shadow: none;
        border: none;
    }

    .npa-inner-wrapper {
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: thin;
        height: 100%;
        background-color: rgb(var(--color-sidebar-background-rgb) / .85);
        backdrop-filter: blur(4px);
        #new-aside-menu {
            height: calc(100% - 100px); /* subtract height of sensible logo */
        }
    }

    .npa-sensible-logo {
        height: 100px;
        width: var(--sidebar-open-width);
        display: flex;
        justify-content: start;
        align-items: center;
        a {
            display: block;
            width: calc(var(--sidebar-closed-width) * 3);
            margin-left: calc(var(--sidebar-closed-width) * .22);
            img {
                position: relative;
                width: 100%;
            }
        }
    }

    .npa-hamburger {
        display: none;
    }

    li a span, li button span { /* a way to give individual links line height but not affect the LI spacing */
        line-height: 140%;
        &:before,
        &:after {
            content: '';
            display: block;
            background-color: rgb(50,90,140 / .5);
            margin-top: -2%;
        }
    }

    ul { /* primary nav */ 
        display: flex;
        flex-direction: column;
        li {
            --parent-li-x-padding: 6px;
            width: var(--sidebar-open-width);
            padding: 0px var(--parent-li-x-padding);
            > a, > button {
                --parent-link-padding: 4px;
                width: 100%;
                height: calc(var(--sidebar-closed-width) - (2 * var(--parent-li-x-padding)));
                display: flex;
                flex-direction: row;
                padding: var(--parent-link-padding);
                align-items: center;
                border-radius: 6px;
                transition: background-color .2s ease-out;
                background-color: rgb(var(--color-sidebar-background-rgb) / 0);
                i.npa-link-icon {
                    &:before {
                        border-radius: 6px;
                        --icon-width-adjust: calc((var(--parent-li-x-padding) * 2) + (var(--parent-link-padding) * 2));
                        --icon-margin: 2px;
                        margin: var(--icon-margin);
                        width: calc(var(--sidebar-closed-width) - var(--icon-width-adjust) - (2 * var(--icon-margin)));
                        height: calc(var(--sidebar-closed-width) - var(--icon-width-adjust) - (2 * var(--icon-margin)));
                        display: flex;  
                        align-items: center; 
                        justify-content: center;
                    }   
                    display: flex;
                    flex: 0 0 calc(var(--sidebar-closed-width) - var(--sidebar-item-padding));
                    align-items: center; 
                    justify-content: start;
                    height: calc(var(--sidebar-closed-width) - var(--sidebar-item-padding));
                    font-size: 20px;
                    color: rgb(255 255 255 / .75);  
                    opacity: 1;
                    transition: all .2s ease-out;
                }
                span {
                    font-weight: 500;
                    display: block;
                    font-size: 16px;
                    color: white;
                    margin-right: auto; /* push toggle icon to the right */
                }
                i.npa-submenutoggle-icon {
                    font-size: 1.5rem;
                    transition: rotate .3s ease-in-out;
                    margin-right: .5rem;
                }
            
            }
            /* selected item icon (not selected) */
            &:not(.npa-has-submenu){
                a, button {
                    &:after {
                        content: '\f061';
                        color: white;
                        font-size: 1rem;
                        font-family: FontAwesome;
                        opacity: 0;
                        transition: opacity .3ms ease-in;
                    }
                }
            }
            
            /* submenus */
            ul.npa-secondarynav { 
                height: 0px;
                transition: height .3s ease-in-out;
                overflow: hidden;
                margin: 0 0 0 calc(var(--sidebar-closed-width));
                display: block;
                &.npa--display-none {
                    display: none;
                }
                li {
                    width: calc(var(--sidebar-open-width) - var(--sidebar-closed-width) - var(--parent-li-x-padding));
                    height: auto;
                    > a, > button {
                        height: auto;
                        padding: 10px
                    }
                    .npa-icon-tertiarymenu {
                        content: '\f03a';
                        color: white;
                        font-size: 1rem;
                        font-family: FontAwesome;
                        opacity: .5;
                        transition: opacity .3s ease-in;
                        position: relative;
                        left: 1rem; /* move over active link icon */
                    }
                    &:focus,
                    &:hover {
                        .npa-icon-tertiarymenu {
                            opacity: .75;
                        }
                    }
                }
            }

            transition: height .3s ease-in-out;
        
            &.npa-selected-link {
                > a, > button {
                    i.npa-link-icon {
                        color: rgb(var(--color-sidebar-background-rgb));
                        &:before {
                            background: rgb(255 255 255 / .75);
                        }
                    }
                }
                &:not(.npa--has-secondarymenu){
                    > a, > button {
                        &:after {
                            opacity: 1;
                        }
                    }
                }
            }

            /* tertiary menus */
            .npa-tertiaryMenuPanel {
                /* background: rgb(var(--color-sidebar-background-rgb) / .85), rgb(255 255 255 / .2); */
                background: color-mix(in srgb, rgb(var(--color-sidebar-background-rgb) / .9), rgb(255 255 255 / .4));
                backdrop-filter: blur(8px);
                height: 100%;
                width: calc(var(--sidebar-open-width) - var(--sidebar-closed-width));
                position: absolute;
                top: 0;
                left: calc(var(--sidebar-open-width) + var(--sidebar-closed-width));
                transition: left .3s ease-in-out;
                z-index: 2;
                .npa-tertiary-header {
                    color: white;
                    padding: 34px 14px;
                    font-size: 20px;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    span {
                        flex: 1 1 auto;
                    }
                    button { 
                        font-size: 24px;
                        flex: 0 1 auto;;
                        i {
                            font-size: 30px;   
                        }
                        &:hover {
                            background: none !important;
                            i {
                                color: white;
                            }
                        }
                    }
                }
                ul {
                    font-size: 14px;
                    margin: 0px;
                    padding: none;
                    width: 100%;
                    height: 100%;
                    li a span {
                        font-size: 14px;
                    }
                    li h3 {
                        margin-top: 2rem;
                        padding: 8px 0;
                        font-size: 12px;
                        font-weight: 300;
                        color: white;
                        margin-left: 10px;
                    }
                    a {
                        span {
                            i {
                                color: white;
                                margin-right: .5rem;
                            }
                        }
                    }
                }
                &.npa--animate-showtertiary {
                    left: var(--sidebar-closed-width);
                    ul.npa--toggle-display {
                        display: block;
                    }
                    div.npa--toggle-display {
                        display: flex;
                    } 
                }
                &.npa--hide-children {
                    ul.npa--toggle-display, 
                    div.npa--toggle-display {
                        display: none;
                    }
                }
            }
        }
    }

    &.npa-tertiary-menu-open {
        ul.npa-primarynav > li,
        ul.npa-secondarynav > li {
            > a, > button {
                > i, > span {
                    opacity: .3;
                }
            }
        }
        
    }

    #npa-pin {
        position: fixed;
        display: inline-block;
        bottom: 0;
        left: 0;
        width: calc(var(--sidebar-open-width) - var(--sidebar-closed-width));
        margin-left: var(--sidebar-closed-width);
        padding: 1rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: end;
        button {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: end;
            gap: .5rem;
            i {
                width: 2rem;
                height: 2rem;
                position: relative;
                text-align: center;
            }
            /* i:after {
                position: absolute;
                top: -.5rem;
                left: -.5rem;
                content: '';
                border: 2px solid white;
                opacity: 1;
                width: 3rem;
                height: 3rem;
                border-radius: 1rem;
                transform: scale(0);
                transition: all .5s ease-out;
            } */
            i:before {
                display: inline-block;
                font-size: 1.5rem;
                color: rgb(255 255 255);
                opacity: .7;
                rotate: 0deg;
                transition: scale .15s ease-in;
            }
            span {
                color: rgb(255 255 255);
                opacity: 0;
                transition: opacity .15s ease-in;
            }
            &:hover {
                i:before {
                    scale: -1 -1;
                    opacity: 1;
                }
                span {
                    opacity: .5;
                }
            }
        }
        &:before { /* background mask */
            content: '';
            position: absolute;
            width: 120%;
            height: 120%;
            top: -10%;
            left: -10%;
            filter: blur(10px);
            background: linear-gradient(90deg, transparent, color-mix(in srgb, rgb(var(--color-sidebar-background-rgb)) 100%, #ffffff 15%) 75%);
        }
    }
}

.--pinned #new-page-aside #npa-pin {
    /* i:after {
        opacity: 0;
        transform: scale(1);
    } */
    i:before {
        opacity: .5;
        rotate: 180deg;
    }
}

#new-page-aside:hover {
    ul {
        li {
            a:hover, button:hover {
                background: rgb(var(--color-sidebar-background-rgb));
                i.npa-link-icon {
                    color: white;
                }
            }
        }
    }
}

/* open menu on hover (or pinned open) */
#new-page-aside:hover,
.--pinned #new-page-aside {
        width: var(--sidebar-open-width);
        ul li.npa--animate-showsubmenu { 
            i.npa-submenutoggle-icon {
                rotate: -180deg;
            }
            height: auto;
            overflow: hidden;
            ul {
                height: auto;
            }
        }
    }

/* when unpinning, trigger collapse animation */
#new-page-aside.--unpin-collapse:hover {
    width: var(--sidebar-closed-width);
} 

/* mobilve hamburger menu */
@media (width <= 800px) {
    .header-mobile {
        min-height: var(--sidebar-closed-width);
    }
    .--pinned #kt_wrapper {
        padding-left: 0;
    }
    #kt_wrapper { /* legacy code wrapping the rest of the page (right column) */
        padding-left: 0;
    }
    
    #new-page-aside,
    #new-page-aside:hover,
    .--pinned #new-page-aside {
        width: var(--sidebar-closed-width);
        height: var(--sidebar-closed-width);
        overflow: hidden;
        backdrop-filter: none;
        .npa-inner-wrapper {
            backdrop-filter: none;
        }
        .npa-hamburger {
            i[class*=" fa-"]:before {
                font-size: 20px !important;
            }
        }
    }

    #new-page-aside.--mobile-open,
    #new-page-aside:hover.--mobile-open,
    .--pinned #new-page-aside.--mobile-open {
        width: var(--sidebar-open-width);
        height: auto;
        min-height: 100%;
        backdrop-filter: contrast(40%);
        .npa-inner-wrapper {
            height: 100%;
            min-height: 100vh;
            backdrop-filter: blur(4px);
        }
        .npa-hamburger {
            background-color: transparent;
        }
    }

    #new-page-aside {
        ul.npa-secondarynav { 
                height: auto;
        }
        position: absolute;
        .npa-sensible-logo {
            display: none;
        }
        .npa-hamburger {
            background-color: white;
            transition: background .3s ease-in;
            width: var(--sidebar-closed-width);
            height: var(--sidebar-closed-width);
            display: flex;
            font-size: 24px;
            align-items: center;
            justify-content: center;
        }
         ul li.npa--animate-showsubmenu { 
                i.npa-submenutoggle-icon {
                    rotate: -180deg;
                }
                height: auto;
                overflow: hidden;
                ul {
                    height: auto;
                }
            }
        &:hover {
            ul li.npa--animate-showsubmenu { 
                i.npa-submenutoggle-icon {
                    rotate: -180deg;
                }
                height: auto;
                overflow: hidden;
                ul {
                    height: auto;
                }
            }
        }
         #npa-pin {
            display: none;
         }
    }
}
