/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/

/* 
    Created on : Apr 15, 2018, 1:49:23 PM
    Author     : komaaros
*/

.input_error {
    border: 1px solid red;
}

th, td {
    vertical-align: middle !important;
    text-align: center;
}

.select2-container--open {
    z-index: 9999999
}

.custom_select.select2-container .select2-results {
    max-height: 600px;
}

.custom_mbt {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Komercio application shell. */
:root {
    --nav-blue: #416e91;
    --nav-sidebar: #2d4d68;
    --nav-deep: #25435d;
    --nav-text: #e2ecf3;
    --nav-accent: #b7d7ea;
    --app-ink: #273e50;
}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #4b5d75; }
html, body, .content-body { background: #f5f7f8; }
.header.komercio-header {
    background: linear-gradient(110deg, #345770, #416981);
    border: 0;
    box-shadow: 0 2px 14px rgba(22, 58, 118, .12);
}
.komercio-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 165px;
    height: 42px;
    padding: 0 9px;
    margin: 9px 0 0 22px;
    border-radius: 10px;
    background: #fff;
}
.komercio-header .logo img { width: 147px; height: auto; }
.header .komercio-header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 60px;
    padding-right: 24px;
}
.komercio-quick-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 9px;
    background: rgba(255,255,255,.09);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.komercio-quick-action:hover, .komercio-quick-action:focus {
    color: #fff; background: rgba(255,255,255,.2); text-decoration: none;
}
.komercio-account-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 0; border: 0; background: transparent; color: #fff; text-align: left;
}
.komercio-avatar {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,.35); border-radius: 12px;
    background: #edf3f6; color: #365d7a; font-weight: 700; font-size: 15px;
}
.komercio-account-info { display: flex; flex-direction: column; line-height: 1.5; }
.komercio-account-info strong { font-size: 12px; font-weight: 600; }
.komercio-account-info small { font-size: 10px; color: #dce8ef; }
.komercio-account .dropdown-menu {
    min-width: 195px; margin-top: 15px; padding: 8px;
    border: 1px solid #e3e9ed; border-radius: 12px;
    box-shadow: 0 12px 35px rgba(24,49,83,.15);
}
.komercio-account-label { padding: 8px 10px; color: #72838f; font-size: 11px; }
.komercio-account .dropdown-menu button {
    width: 100%; padding: 10px; border: 0; border-radius: 7px;
    background: transparent; text-align: left; color: #273e50;
}
.komercio-account .dropdown-menu button:hover { background: #edf3f6; }
.komercio-account .dropdown-menu i { margin-right: 8px; }

html #sidebar-left,
html #sidebar-left .nano,
html #sidebar-left .nano-content,
html.sidebar-left-collapsed #sidebar-left .nano {
    background: var(--nav-sidebar); box-shadow: none;
}
#sidebar-left { border-right: 1px solid rgba(255,255,255,.08); }
#sidebar-left .sidebar-header { height: 54px; }
#sidebar-left .sidebar-header .sidebar-title {
    padding: 18px 24px; background: transparent; color: #c3d3df;
    font-size: 10px; font-weight: 600; letter-spacing: 1.6px;
}
#sidebar-left .sidebar-header .sidebar-toggle {
    top: 10px; right: 15px; width: 32px; height: 32px;
    border: 1px solid rgba(255,255,255,.17); border-radius: 9px;
    background: rgba(255,255,255,.07); padding: 0;
}
#sidebar-left .sidebar-header .sidebar-toggle i {
    color: #e2ecf3; line-height: 30px; font-size: 13px;
}
#sidebar-left .sidebar-toggle:hover { background: rgba(255,255,255,.17); }
#sidebar-left ul.komercio-menu { margin: 0; padding: 0 12px 16px; }
#sidebar-left .komercio-nav-label {
    margin: 18px 12px 8px; color: #b7cbd9;
    font-size: 9px; font-weight: 600; letter-spacing: 1.5px;
}
#sidebar-left .komercio-nav-label:first-child { margin-top: 4px; }
#sidebar-left ul.nav-main > li > a {
    display: flex; align-items: center; position: relative;
    min-height: 42px; padding: 10px 13px; margin: 3px 0;
    border-radius: 9px; color: var(--nav-text); font-size: 12px; font-weight: 500;
    transition: background-color .15s ease, color .15s ease;
}
#sidebar-left ul.nav-main li i {
    flex-shrink: 0; width: 20px; margin-right: 12px;
    color: #c0d4e2; font-size: 16px;
}
#sidebar-left ul.nav-main > li > a:hover,
#sidebar-left ul.nav-main > li > a:focus {
    color: #fff; background: rgba(255,255,255,.12);
}
#sidebar-left ul.nav-main > li.nav-active > a {
    color: #2c526e; background: #eaf2f6; box-shadow: 0 3px 9px rgba(8,42,104,.09);
    font-weight: 650;
}
#sidebar-left ul.nav-main > li.nav-active > a i { color: #416e91; }
#sidebar-left .komercio-active-dot {
    width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #416e91;
}
#sidebar-left .komercio-sidebar-footer {
    margin: 8px 24px 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
    color: #fff; font-size: 12px; font-weight: 600;
}
.komercio-sidebar-footer > span:last-child { display: block; margin-top: 3px; color: #b7cbd9; font-size: 10px; font-weight: 400; }
.komercio-brand-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #a7c5d4; }
#sidebar-left .nano > .nano-pane { width: 5px; right: 3px; background: transparent; border-radius: 6px; }
#sidebar-left .nano > .nano-pane > .nano-slider { margin: 0; border-radius: 6px; background: #819fb5; }
#sidebar-left .nano > .nano-pane:hover > .nano-slider { background: #b7cedd; }
#sidebar-left .nano-content { scrollbar-width: thin; scrollbar-color: #819fb5 #2d4d68; }
#sidebar-left .nano-content::-webkit-scrollbar { width: 5px; }
#sidebar-left .nano-content::-webkit-scrollbar-track { background: #2d4d68; }
#sidebar-left .nano-content::-webkit-scrollbar-thumb { background: #819fb5; border-radius: 6px; }
#sidebar-left a:focus-visible, .komercio-header a:focus-visible, .komercio-header button:focus-visible, #sidebar-left button:focus-visible {
    outline: 2px solid #b7d7ea; outline-offset: 2px;
}

/* A quieter workspace keeps the blue navigation prominent. */
.page-header { background: #fff; border: 0; border-bottom: 1px solid #e2e8ec; box-shadow: none; }
.page-header h2 { color: var(--app-ink); border: 0; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.page-header .breadcrumbs a, .page-header .breadcrumbs span, .page-header .breadcrumbs li:after { color: #6b7e8c; font-size: 11px; }
.page-header .sidebar-right-toggle { background: transparent; color: #8397a5; }
.page-header .sidebar-right-toggle:hover { color: #416e91; }
.content-body .panel { border-radius: 12px; box-shadow: 0 3px 18px rgba(35,62,100,.05); }
.content-body .panel-heading { background: #fff; border-color: #e5ebef; border-radius: 12px 12px 0 0; padding: 18px 20px; }
.content-body .panel-title { color: var(--app-ink); font-size: 15px; font-weight: 600; }
.content-body .panel-body { border-radius: 0 0 12px 12px; }
.content-body .panel-featured-primary { border-color: #416e91; }
.content-body .btn { border-radius: 7px; }
.content-body .btn-primary { background: #416e91; border-color: #416e91; color: #fff; }
.content-body .btn-primary:hover, .content-body .btn-primary:focus { background: #355c7b; border-color: #355c7b; }
.content-body .form-control { border-color: #dce5eb; border-radius: 7px; box-shadow: none; }
.content-body .form-control:focus { border-color: #87aabe; box-shadow: 0 0 0 3px rgba(65,110,145,.12); }

@media only screen and (min-width: 768px) {
    html.fixed .sidebar-left { width: 260px; }
    html.fixed .content-body { margin-left: 260px; }
    html.fixed .page-header { left: 260px; }
    html.fixed.sidebar-left-collapsed .sidebar-left { width: 73px; }
    html.fixed.sidebar-left-collapsed .content-body { margin-left: 73px; }
    html.fixed.sidebar-left-collapsed .page-header { left: 73px; }
    html.sidebar-left-collapsed #sidebar-left .komercio-nav-label,
    html.sidebar-left-collapsed #sidebar-left .komercio-sidebar-footer { display: none; }
    html.sidebar-left-collapsed #sidebar-left ul.komercio-menu { padding: 0 9px 16px; }
    html.sidebar-left-collapsed #sidebar-left ul.nav-main > li > a { padding: 11px 16px; }
    html.sidebar-left-collapsed #sidebar-left .nano:hover .komercio-nav-label,
    html.sidebar-left-collapsed #sidebar-left .nano:hover .komercio-sidebar-footer { display: block; }
    html.sidebar-left-collapsed #sidebar-left .nano:hover { box-shadow: 8px 10px 25px rgba(16,48,99,.18); }
}
@media only screen and (max-width: 767px) {
    .header.komercio-header { background: var(--nav-blue); box-shadow: none; }
    .komercio-header .logo-container { background: #345770; border: 0; }
    .komercio-header .logo-container .logo { display: flex; line-height: normal; margin: 9px 0 0 15px; }
    .komercio-header .toggle-sidebar-left { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; }
    .header .komercio-header-actions { background: #345770; padding: 0 15px; justify-content: space-between; gap: 12px; }
    .komercio-account-info { max-width: 95px; }
    .komercio-account-info strong { overflow: hidden; text-overflow: ellipsis; }
    .komercio-quick-action { font-size: 11px; padding: 8px 10px; }
    .page-header h2 { font-size: 16px; }
    .page-header .breadcrumbs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    #sidebar-left ul.nav-main > li > a { transition: none; }
}
