@charset "utf-8";
/*!
 * panel.css
 * Webkokteyli - 2020
 */

:root{

    /* #406ca9 */
    --wkpanel-button-bg-color: #406ca9;
    --wkpanel-button-border-color: #406ca9;
    --wkpanel-login-page-button-bg-color: #406ca9;
    --wkpanel-login-page-button-border-color: #406ca9;
    --wkpanel-separator-bg-color: #406ca9;
    --wkpanel-menu-area-border-color: #406ca9;

    /* #35598c */
    --wkpanel-button-bg-color-hover: #35598c;
    --wkpanel-button-border-color-hover: #35598c;
    --wkpanel-login-page-button-bg-color-hover: #35598c;
    --wkpanel-login-page-button-border-color-hover: #35598c;
}

body{
    font-family: 'Roboto', sans-serif;
    background-color: #eee;
    -webkit-font-smoothing: antialiased;
    /* overflow: hidden; */
    /* height: 100%; */
    /* width: 100%; */
    /* height: 100vh; */
    /* width: 100vw; */
    overflow: hidden;
}

/* button */
.btn-wk {
    color: #fff;
    background-color: #406ca9;
    background-color: var(--wkpanel-button-bg-color);
    border-color: #406ca9;
    border-color: var(--wkpanel-button-border-color);
}
.btn-wk:hover,
.btn-wk:active,
.btn-wk:focus,
.btn-wk:hover {
    color: #fff;
    background-color: #35598c;
    background-color: var(--wkpanel-button-bg-color-hover);
    border-color: #35598c;
    border-color: var(--wkpanel-button-border-color-hover);
}
.btn-positive {
    background-color: #9de097;
    border-color: #97da91;
}
.btn-negative {
    background-color: #fd9688;
    border-color: #fb9688;
}
.btn-positive,
.btn-negative{
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
.btn-warning-2 {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}
.btn-warning-2:hover,
.btn-warning-2:active,
.btn-warning-2:focus,
.btn-warning-2:hover {
    color: #fff !important;
    background-color: #ec971f;
    border-color: #ec971f;
}

/* login page */
.pcn-form {
    margin-bottom: -10px;
}
.login-page {
    width: 100%;
    height: 100%;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: #fff;
    position: relative;
}
.login-page:before,
.login-page:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 350px;
    height: 350px;
    background-image: url(../images/login/bg-top-left.png);
    background-repeat: no-repeat;
    /* background-size: contain; */
    background-position: top left;
}
.login-page:after {
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
    background-image: url(../images/login/bg-bottom-right.png);
    background-position: bottom right;
}
.login-page .login-bg {
    width: 100%;
    height: 100%;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    position: absolute;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.4);
    /* background-color: rgba(255, 255, 255, 0.8); */
}
.login-page .login-wrapper {
    z-index: 2;
    position: relative;
    width: 100%;
    height: 100%;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    /* justify-content: flex-end; */
    align-items: center;
}
.login-page .login-card {
    /* margin-right: 10vw; */
    width: 90%;
    max-width: 360px;
}
.login-page .login-card .card {
    border-radius: 4px;
    border: 1px solid #e9e9e9;
    box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.1);
    transition: box-shadow .2s ease-in-out;
}
.login-page .login-card .card:hover {
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
}
.login-page .login-card .card-body {
    padding: 2rem;
}
.login-page .login-card-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}
.login-page .login-card-logo img {
    max-width: 220px;
    max-height: 90px;
}
.form-group:last-child {
    margin-bottom: 0;
}
.login-page .login-card-form label {
    font-weight: 500;
    font-size: 0.9rem;
    /* display: none; */
    margin-left: 1px;
}
.login-page .login-card-form input {
    border-radius: 2px;
    border: 1px solid #e9e9e9;
    padding: 1rem;
    height: 48px;
}
.login-page .login-card-form button {
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #406ca9;
    background-color: var(--wkpanel-login-page-button-bg-color);
    border-color: #406ca9;
    border-color: var(--wkpanel-login-page-button-border-color);
}
.login-page .login-card-form button:hover {
    background-color: #35598c;
    background-color: var(--wkpanel-login-page-button-bg-color-hover);
    border-color: #35598c;
    border-color: var(--wkpanel-login-page-button-border-color-hover);
}

/* admin area */
.admin-panel-wrapper {
    display: flex;
}

/* topbar */
.topbar{
    background-color: #fff;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem 0 1rem;
    user-select: none;
}
.topbar .topbar-menu-collapse button {
    background: transparent;
    border: 0;
    color: #2c343b52;
    outline: transparent;
}
.topbar .topbar-tools {
    font-size: 0.9rem;
    color: rgba(102, 102, 102, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.topbar .topbar-tools img {
    height: 22px;
    width: 22px;
    object-fit: cover;
    object-position: 50%;
    border-radius: 50%;
    background-color: #fff;
    filter: brightness(0.95);
    margin-right: 0.6rem;
}
/* .topbar .topbar-menu-collapse {
    
} */
.topbar .topbar-tools > div:not(:first-child) {
    margin-left: 1.5rem;
    /* border-left: 1px solid #ddd; */
    padding-left: 1.5rem;
    position: relative;
}
.topbar .topbar-tools .external i {
    font-size: 0.6rem;
    display: inline-block;
    margin-left: 0.3rem;
}
.topbar .topbar-tools .user span {
    display: inline-block;
    height: 22px;
    display: flex;
    align-items: center;
}
.topbar .topbar-tools > div:not(:first-child):before {
    content: "";
    display: block;
    height: 14px;
    border-right: 1px solid #e6e6e6;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -7px;
}

/* menu area */
.menu-area {
    /* width: 100%; */
    height: 100%;
    /* width: 100vw; */
    height: 100vh;
    width: 230px;
    /* min-width: 230px; */
    background-color: #2c343b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    z-index: 11;
    left: 0;
    transition: left .2s cubic-bezier(0.2, 1, 0.8, 1);
    overflow-y: auto;
}
.menu-area::-webkit-scrollbar {
    width: 5px;  /* for vertical scrollbars */
    height: 5px; /* for horizontal scrollbars */
}
.menu-area::-webkit-scrollbar-track {
    background: rgb(0 0 0 / 0%);
}
.menu-area::-webkit-scrollbar-thumb {
    background: rgb(0 0 0 / 10%);
}
.menu-area a {
    color: rgba(224, 224, 224, 0.95);
}
.menu-area .logo-area {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    height: 60px;
    background-color: #414754;
    /* border-bottom: 2px solid #2d353c; */
    padding-left: 1.3rem;
    /* margin-bottom: 0.5rem; */
}
.menu-area .logo-area img {
    max-width: 120px;
    max-height: 40px;
    margin-right: 0.7rem;
}
.menu-area .admin-menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
}
.menu-area .admin-menu ul li {
    padding: 0 0 0 0.8rem;
}
.menu-area .admin-menu ul li li li {
    padding: 0 0 0 1.6rem;
}
.menu-area .admin-menu>ul>li {
    border-left: 3px solid transparent;
    padding: 0 0 0 1.2rem;
    /* border-bottom: 1px solid #2c343b; */
}
.menu-area .admin-menu>ul>li>ul {
    padding-bottom: 0.6rem;
    display: none;
}
.menu-area .admin-menu>ul>li.uncollapsed,
.menu-area .admin-menu>ul>li:hover{
    border-left: 3px solid #406ca9;
    border-left: 3px solid var(--wkpanel-menu-area-border-color);
    background-color: #262c31;
    /* opacity: 1; */
}
.menu-area .admin-menu ul li a {
    height: 32px;
    display: flex;
    align-items: center;
    /* padding: 1rem 0; */
    font-size: 0.82rem;
    border: 0;
    position: relative;
    opacity: 0.86;
}
.menu-area .admin-menu>ul>li>a {
    /* text-transform: uppercase; */
    height: 52px;
    /* display: flex; */
    /* align-items: center; */
    /* padding: 1rem 0; */
    font-size: 0.94rem;
    /* border: 0; */
    /* border-left: 3px solid transparent; */
    /* position: relative; */
    opacity: 0.9;
}
.menu-area .admin-menu>ul>li a:hover {
    opacity: 1;
}
.menu-area .admin-menu>ul>li>a.parent:after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    transform: rotate(135deg);
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -3px;
    opacity: 0.4;
}
.menu-area .admin-menu>ul>li.uncollapsed>a:after{
    transform: rotate(45deg);
    opacity: 0.8;
}
.menu-area .admin-menu ul li ul a.parent {
    cursor: default;
}
.menu-area .admin-menu ul li ul a.parent:hover {
    opacity: 0.86;
}
.menu-area .admin-menu ul>li>a i {
    margin-right: 0.65rem;
    min-width: 15px;
    opacity: 0.9;
    text-align: center;
}
.menu-area .admin-menu>ul>li>a i {
    font-size: 1rem;
    margin-right: 0.5rem;
}
.menu-area .admin-menu ul li ul li ul li a {
    height: 30px;
}
.menu-area .admin-menu ul li ul li ul li ul li a {
    height: 30px;
}
/* tree */
.menu-area .admin-menu ul li ul li ul li a:before {
    content: "";
    position: absolute;
    height: 100%;
    border-left: 2px solid rgb(255 255 255 / 10%);
    left: -19px;
}
.menu-area .admin-menu ul li ul li ul li a:after {
    content: "";
    display: block;
    position: absolute;
    width: 8px;
    border-bottom: 2px solid rgb(255 255 255 / 10%);
    left: -17px;
}
.menu-area .admin-menu ul li ul li ul li:last-child > a:before {
    height: 52%;
    top: 0px;
}
.menu-area .logo-area > a {
    display: inline-flex;
}
.menu-area .logo-area > a p span {
    display: block;
}
.menu-area .logo-area > a p {
    margin: 0;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.2px;
    line-height: 1.4;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1px;
}
.menu-area .logo-area > a p span:last-child {
    font-size: 0.7rem;
    opacity: 0.6;
}
.menu-tools .logout button {
    height: auto;
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
    width: 100%;
    background-color: transparent;
    border-color: #4a4f54;
}
/* .menu-tools .logout {
} */
.menu-tools .form-group {
    margin: 0 0 10px;
}
.menu-tools {
    padding: 1rem;
}
.menu-tools .logout button:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.collapsed .menu-area {
    left: -230px;
}

/* menu collapse - uncollapse */
.menu-area .admin-menu>ul>li.uncollapsed>ul {
    display: block;
}
.menu-area .admin-menu>ul>li.active.collapsed>ul {
    display: none;
}

/* content */
.content-area {
    width: 100%;
    max-width: 100%;
    width: 100vw;
    max-width: 100vw;
    padding-left: 230px;
    height: 100vh;
    transition: padding-left .2s cubic-bezier(0.2, 1, 0.8, 1);
}
.content-area .scrollable-area {
    height: 100vh;
    max-height: 100vh;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}
.collapsed .content-area {
    padding-left: 0;
}

/* separator */
.separator {
    background-color: #406ca9;
    background-color: var(--wkpanel-separator-bg-color);
    background-image: url(../images/separator/light-overlay.png);
    background-size: 55%;
    height: 170px;
    display: flex;
    align-items: center;
    user-select: none;
}
.separator > h1 {
    margin-left: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 21px;
    font-size: 1.32rem;
    font-weight: 400;
    margin-bottom: 50px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.separator > h1 > i {
    font-size: 16px;
    margin-right: 0.6rem;
    /* opacity: 0.8; */
    margin-bottom: 1px;
}


/*!
 * Custom Pages
 *
 */
label{
    font-size: 0.92rem;
}
.section:not(:first-of-type) {
    margin-top: 4rem;
}
.tables-area {
    padding: 0 1.5rem;
    padding-bottom: 1.5rem;
}
.custom-page {
    background-color: #fff;
    padding: 2.5rem;
    max-width: 100%;
}
.custom-page .table-results {
    border: 1px solid #e9e9e9;
    font-size: 13px;
}
.custom-page .table-results tr {
    border-bottom: 1px solid #e9e9e9;
}
.custom-page .table-results tbody tr:nth-child(odd) {
    background-color: #fafafa;
}
.custom-page .table-results th,
.custom-page .table-results td {
    height: 54px;
    vertical-align: middle;
    padding: 0 24px;
    text-align: left;
    border: none;
}
.custom-page .table-results.table-bordered th,
.custom-page .table-results.table-bordered td {
    border: 1px solid #dee2e6;
}
.custom-page .table-results th{
    border: none;
    height: 56px;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.62);
    text-align: left;
    padding: 0 24px;
}
.custom-page .table-results tbody tr.disabled {
    background-color: #ffdfdf;
    border-top: 1px solid #ecc9c9;
    color: #b36161;
    font-style: italic;
    border-bottom: 1px solid #ecc9c9;
}
.custom-page .table-results tbody tr.warning {
    background-color: #fff9df;
    border-top: 1px solid #f7eab3;
    color: #a27a50;
    font-style: italic;
    border-bottom: 1px solid #f7eab3;
}
.custom-page .table-results tbody tr.success {
    background-color: #ebf9d8;
    border-top: 1px solid #d8e8c1;
    color: #5a5a5a;
    font-weight: 500;
    border-bottom: 1px solid #d7ecb7;
}

/* mobile */
@media (max-width: 1366px){
    
}


@media (max-width: 1200px){
    
}


@media (max-width: 767px){
    .menu-area {
        overflow-y: auto;
    }
    .tables-area {
        min-width: 100vw;
    }
    .topbar {
        padding: 0 1rem;
    }
    .topbar .topbar-tools {
        font-size: 0.84rem;
    }
    .topbar .topbar-tools .user span {
        font-size: 0;
    }
    .topbar .topbar-tools .user span img {
        margin-right: 0;
    }
    .topbar .topbar-tools > div:not(:first-child) {
        margin-left: 0.7rem;
        padding-left: 0.7rem;
    }
    .separator {
        height: 250px;
        align-items: flex-start;
    }
    .separator > h1 {
        margin-top: 33px;
        margin-bottom: 0;
    }
}