:root {
    --primaryDarkColor: #124325;
    --secondDarkColor: #c2510f;
}

/*@property --primaryDarkColor {
  syntax: "<color>";
    inherits: true;
    initial-value: #124325;
}

@property --secondDarkColor {
    syntax: "<color>";
    inherits: true;
    initial-value: #c2510f;
}
.nkg-default-theme {
    --primaryDarkColor: #124325;
    --secondDarkColor: #c2510f;
}
.blue-grey-theme {
    --primaryDarkColor: #607d8b;
    --secondDarkColor: #37474f;
}*/
/* Compact */
/* roboto-300 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url("../../fonts/roboto-v15-latin-300.eot");
    /* IE9 Compat Modes */
    src: local("Roboto Light"), local("Roboto-Light"), url("../../fonts/roboto-v15-latin-300.eot?#iefix") format("embedded-opentype"), url("../../fonts/roboto-v15-latin-300.woff2") format("woff2"), url("../../fonts/roboto-v15-latin-300.woff") format("woff"), url("../../fonts/roboto-v15-latin-300.ttf") format("truetype"), url("../../fonts/roboto-v15-latin-300.svg#Roboto") format("svg");
    /* Legacy iOS */
}

/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url("../../fonts/roboto-v15-latin-regular.eot");
    /* IE9 Compat Modes */
    src: local("Roboto"), local("Roboto-Regular"), url("../../fonts/roboto-v15-latin-regular.eot#iefix") format("embedded-opentype"), url("../../fonts/roboto-v15-latin-regular.woff2") format("woff2"), url("../../fonts/roboto-v15-latin-regular.woff") format("woff"), url("../../fonts/roboto-v15-latin-regular.ttf") format("truetype"), url("../../fonts/roboto-v15-latin-regular.svg#Roboto") format("svg");
    /* Legacy iOS */
}

/* roboto-700 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url("../../fonts/roboto-v15-latin-700.eot");
    /* IE9 Compat Modes */
    src: local("Roboto Bold"), local("Roboto-Bold"), url("../../fonts/roboto-v15-latin-700.eot#iefix") format("embedded-opentype"), url("../../fonts/roboto-v15-latin-700.woff2") format("woff2"), url("../../fonts/roboto-v15-latin-700.woff") format("woff"), url("../../fonts/roboto-v15-latin-700.ttf") format("truetype"), url("../../fonts/roboto-v15-latin-700.svg#Roboto") format("svg");
    /* Legacy iOS */
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url("../../fonts/MaterialIcons-Regular.eot");
    /* For IE6-8 */
    src: local("Material Icons"), local("MaterialIcons-Regular"), url("../../fonts/MaterialIcons-Regular.woff2") format("woff2"), url("../../fonts/MaterialIcons-Regular.woff") format("woff"), url("../../fonts/MaterialIcons-Regular.ttf") format("truetype");
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@-webkit-keyframes fadeOutUp {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

.fadeOutUp {
    -webkit-animation-name: fadeOutUp;
    animation-name: fadeOutUp;
}

/* Ripple */
/* Ripple Effect Style like Google Material Buttons Effect*/
.ripplelink {
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    z-index: 0;
}

.ink {
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 100%;
    transform: scale(0);
}

.ripple-animate {
    animation: ripple 0.65s linear;
}

html {
    height: 100%;
}

body {
    font-family: Roboto, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #212121;
    -webkit-font-smoothing: antialiased;
    padding: 0;
    margin: 0;
    background-color: #f7f7f7;
    height: 100%;
}

html, body {
    user-select: none;
    cursor: default;
    pointer-events: auto;
}
/* TopBar user-menu settings */
body .p-menu .p-menuitem-link {
    padding: .625em 1em;
    color: #212121;
    border-radius: 0;
}

body a {
    text-decoration: none;
}


/* Utils */
.clearfix:after {
    content: " ";
    display: block;
    clear: both;
}

*[hidden] {
    display: none;
}

.card {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    background: #ffffff;
    padding: 1em;
    margin-bottom: 1em;
    box-sizing: border-box;
    h1 {
        font-size: 1.5em;
        font-weight: 400;
        margin: 1em 0;
        &:first-child {
            margin-top: .667em;
        }
    }
    h2 {
        font-size: 1.375em;
        font-weight: 400;
    }
    h3 {
        font-size: 1.250em;
        font-weight: 400;
    }
    h4 {
        font-size: 1.125em;
        font-weight: 400;
    }
}

.nopad {
    padding: 0;
    .p-panel-content {
        padding: 0;
    }
}

body {
    .layout-wrapper {
        &.layout-compact {
            font-size: 14px;
            line-height: 18px;
            .layout-container {
                /* General APP*/
                .layout-main {
                    padding: 96px 16px 16px 16px;
                    transition: margin-left 0.3s;
                }
                .layout-mask {
                    display: none;
                    position: fixed;
                    width: 100%;
                    height: 100%;
                    background-color: #424242;
                    top: 0;
                    left: 0;
                    z-index: 999999997;
                    opacity: 0.7;
                    filter: alpha(opacity=70);
                }
                /* Top bar */
                .topbar {
                    position: fixed;
                    z-index: 100;
                    width: 100%;
                    background-color: var(--primaryDarkColor);
                    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
                    .topbar-left {
                        box-sizing: border-box;
                        width: 250px;
                        background-color: #0a2617;
                        float: left;
                        box-shadow: 3px 0 6px rgba(0, 0, 0, 0.3);
                    }
                    .topbar-right {
                        position: relative;
                        display: flex;
                        align-items: center;
                        /* topbar-left size: 250px */
                        width: calc(100% - 250px);
                        a {
                            outline: none;
                            display: flex;
                            span {
                                display: flex;
                                &#menu-button {
                                    color: #FFFFFF;
                                    transition: all 0.3s;
                                    &:hover {
                                        transform: scale(1.2);
                                    }
                                    i {
                                        /* Support for all WebKit browsers. */
                                        -webkit-font-smoothing: antialiased;
                                        /* Support for Safari and Chrome. */
                                        text-rendering: optimizeLegibility;
                                        /* Support for Firefox. */
                                        -moz-osx-font-smoothing: grayscale;
                                        /* Support for IE. */
                                        font-feature-settings: 'liga';
                                        transition: all 0.3s;
                                        font-size: 36px;
                                    }
                                }
                            }
                        }
                        #back-to-label {
                            color: white;
                            margin: auto;
                        }
                    }
                    .topbar-items {
                        &.setting-profile, #back-to-label {
                            list-style-type: none;
                            font-size: 14px;
                        }
                        padding: 0;
                        display: flex;
                        margin: 0 7px 0 0;
                        font-size: large;
                        color: #FFFFFF;
                        .user-agency {
                            span {
                                padding-right: 8px;
                                &:last-child {
                                    padding: 0 8px;
                                    border-left: 1px solid;
                                }
                            }
                        }
                        .master-tittle {
                            position: absolute;
                            right: 50%
                        }
                        a {
                            position: relative;
                            .topbar-badge {
                                position: absolute;
                                left: 0;
                                top: 0;
                                background-color: var(--secondDarkColor);
                                color: #ffffff;
                                border-radius: 50%;
                                padding: 2px;
                                display: block;
                                font-size: 12px;
                                line-height: 12px;
                            }
                            i {
                                font-size: 2em;
                                color: #ffffff;
                                transition: color 0.3s;
                                &:hover {
                                    color: #e8e8e8;
                                }
                            }
                        }
                    }
                }
                .layout-main {
                    &:not(.layout-only-content) {
                        padding: 70px 16px 16px 16px;
                    }
                    &.layout-only-content {
                        padding: 16px;
                    }
                }
                .layout-rightpanel {
                    top: 53px;
                    height: calc(100% - 53px);
                    z-index: 99;
                    box-sizing: border-box;
                    transition: right .3s;
                    position: fixed;
                    right: -240px;
                    width: 240px;
                    background-color: #fff;
                    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .3);
                    &.layout-rightpanel-active {
                        z-index: 99;
                        width: 300px;
                        right: 0;
                        -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
                        transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
                    }
                }
                /* Menu */
                .layout-menu {
                    overflow: auto;
                    position: fixed;
                    width: 250px;
                    z-index: 99;
                    top: 53px;
                    height: 100%;
                    background-color: #ffffff;
                    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.3);
                    transition: width 0.7s;
                    .nkg-logo {
                        display: block;
                        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
                        height: 179px;

                        img {
                            transform: scale(0.8, 0.8);
                            margin-top: -14px;
                            opacity: 0.8;
                            display: inline-block;
                            margin-bottom: 0;
                            margin-left: 15px;
                            transition: margin-left 0.3s !important;
                        }
                    }
                    .nkg-burger {
                        display: inline-block;
                        vertical-align: middle;
                        line-height: 1em;
                        padding: 0 0 0 5px;
                        background-color: var(--primaryDarkColor);
                        color: #e8e8e8;
                        border-radius: 50%;
                        margin-left: 0.25em;
                        height: 35px;
                        position: relative;
                        left: -1px;
                        transform: translate(200px);
                        &:hover {
                            color: #e8e8e8;
                            transition: transform 0.5s cubic-bezier(0.4, 0, 1, 1);
                        }
                        .nkg-chevron {
                            transition: all 0.3s;
                            display: inline-block;
                            font-size: 30px;
                            position: relative;
                            left: -3px;
                            top: 1px;
                        }
                    }
                    .ultima-menu {
                        margin: 0;
                        padding: 0;
                        list-style: none;
                        /* Main Menu*/
                        &.ultima-main-menu {
                            margin-top: 10px;
                            padding-bottom: 120px;
                        }
                        /* submenu chevron-down symbol */
                        ul {
                            list-style: none;
                            &.ng-trigger-children {
                                padding: 0 0 0 3px;
                                list-style: none;
                                overflow: hidden;
                            }
                        }
                        li {
                            color: #757575;
                            a {
                                font-size: 1em;
                                display: block;
                                width: 100%;
                                height: 36px;
                                box-sizing: border-box;
                                color: inherit;
                                padding: 0.5em 1em 0.5em 10px;
                                transition: background-color 0.3s;
                                overflow: hidden;
                                span {
                                    vertical-align: middle;
                                    color: inherit;
                                    visibility: visible;
                                    opacity: 1;
                                    transition: all 0.3s ease-in;
                                    transition-delay: 0.2s;
                                }
                                i {
                                    color: inherit;
                                    /* chevron-down symbol */
                                    &:last-child {
                                        font-size: 12px;
                                        float: right;
                                        margin-top: .15em;
                                        margin-right: -.15em;
                                        transition: transform 0.3s;
                                    }
                                    /* Menu icon */
                                    &:first-child {
                                        display: inline-block;
                                        vertical-align: middle;
                                        margin-right: .5em;
                                        font-size: 1.5em;
                                    }
                                }
                                &:hover {
                                    color: #404040;
                                    background-color: #e8e8e8;
                                }
                            }
                            /* Select menu item */
                            &.active-menuitem {
                                color: var(--primaryDarkColor);
                                > a {
                                    background-color: #e8e8e8;
                                    /* submenu chevron-down symbol */
                                    i:last-child {
                                        transform: rotate(-180deg);
                                    }
                                }
                            }
                        }
                    }
                    .app-version-info {
                        position: relative;
                        left: 50%;
                        color: rgb(108, 117, 125);
                        font-style: italic;
                        font-size: 0.8em;
                        visibility: visible;
                    }
                    .nano .nano-content.menu-scroll-content {
                        display: block;
                        height: 100%;
                        position: relative;
                        overflow: scroll;
                    }
                    &.nkg-closed {
                        width: 40px;
                        img {
                            margin-left: -112px !important;
                        }
                        .nkg-burger {
                            background-color: var(--secondDarkColor);
                            transform: translate(0);
                            transition: transform 0.3s cubic-bezier(0.4, 0, 1, 1);
                            .nkg-chevron {
                                transform: rotate(180deg);
                                padding-left: -3px;
                                left: -1px;
                                position: relative;
                                top: 1px;
                            }
                        }
                        ul {
                            &.ultima-menu {
                                span {
                                    &.menuitem-text {
                                        opacity: 0;
                                    }
                                }
                            }
                        }
                        .app-version-info {
                            visibility: hidden;
                            transition: visibility ease-out .3s;
                        }
                    }
                }
                /* Login */
                .nkg-content {
                    .login-body {
                        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/images/background_image.jpg");
                        background-repeat: no-repeat;
                        height: 100vh;
                        background-size: cover;
                        display: flex;
                        .card {
                            &.login-panel {
                                padding: 0;
                                background-image: url("/assets/nkg2.png");
                                background-repeat: no-repeat;
                                background-position-x: -187px;
                                background-position-y: 200px;
                                background-size: 280px;
                            }
                        }
                        .nkg-login-header {
                            display: inline-block;
                            width: 100%;
                            background-color: #0a2617;
                            margin-top: 10px;
                            padding: 0;
                            margin-bottom: 55px;
                            span {
                                &.nkg-login-header-left {
                                    display: inline-block;
                                    height: 100%;
                                    padding: 35px;
                                    box-sizing: border-box;
                                }
                                &.nkg-login-header-right {
                                    width: 45px;
                                    height: 100%;
                                    background-color: var(--primaryDarkColor);
                                    display: inline-block;
                                    float: right;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

@-webkit-keyframes ripple {
    100% {
        opacity: 0;
        -webkit-transform: scale(2.5);
    }
}

@-moz-keyframes ripple {
    100% {
        opacity: 0;
        -moz-transform: scale(2.5);
    }
}

@-o-keyframes ripple {
    100% {
        opacity: 0;
        -o-transform: scale(2.5);
    }
}

@keyframes ripple {
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

@keyframes loading {
    from {
        left: 50%;
        width: 0;
        z-index: 100;
    }
    33.3333% {
        left: 0;
        width: 100%;
        z-index: 10;
    }
    to {
        left: 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .login-panel {
        background-image: url("")!important;
        text-align: center;
        width: 300px;
        min-height: 440px;
        margin: auto;
        padding: 40px 20px;

    }

    .login-panel .nkg-form-wrapper .p-grid .col-12 {
        padding: 25px!important;
    }

    .login-panel .p-grid .col-12 .nkg-login-btn {
        padding: 0!important;
    }

    .login-body {
        padding: 0 !important;
    }

    .nkg-content .login-body .nkg-login-header {
        text-align: end !important;
        margin-bottom: 0!important;
    }
}

@media (min-width: 1025px) {
    /* Slice app content when left menu is expanded */
    .layout-container.menu-layout-static .layout-main {
        margin-left: 250px;
    }

    .layout-container.menu-layout-static .layout-mask {
        display: none;
    }
}

@media (max-width: 1024px) {
    .layout-wrapper {
        &.layout-compact {
            .layout-container.menu-layout-static {
                .layout-main.nkg-closed:not(.layout-only-content) {
                    margin-left: 40px;
                }
                .layout-main:not(.layout-only-content) {
                    margin-left: 215px;
                }

                .layout-only-content {
                    margin-left: 0;
                }
                /* Top bar */
                .topbar {
                    .topbar-right {
                        width: calc(100% - 215px);
                        span.master-tittle {
                            left: 1%;
                        }
                        /* Back to */
                        > a {
                            display: none;
                        }
                    }
                    .topbar-left {
                        width: 215px;

                    }
                }
                /* Menu */
                .layout-menu {
                    width: 215px;
                    .nkg-burger {
                        /* Consider Menu width is 215px in 10inch devices and burger-collapsed icon size is 35 px */
                        transform: translate(170px);
                    }
                }
            }
        }
    }
}


@media (max-width: 399px) {
    .layout-container .topbar .topbar-right #topbar-menu-button {
        right: 15px;
    }
}
