
/*
 * GabivoTheme 1.2.0
 * MantisBT 2.25 - 2.26
 *
 * Kolory:
 * Grafit:       #242A35
 * Blekit:       #3478C0
 * Jasny blekit: #78B9EB
 * Tlo:          #F5F7FA
 *
 * Motyw wizualny - bez zmian mechanizmu MantisBT.
 */

:root {
    --gabivo-graphite: #242A35;
    --gabivo-graphite-2: #2E3745;
    --gabivo-primary: #3478C0;
    --gabivo-primary-hover: #2867AA;
    --gabivo-accent: #78B9EB;
    --gabivo-bg: #F5F7FA;
    --gabivo-panel: #FFFFFF;
    --gabivo-line: #E2E8F0;
    --gabivo-text: #202B3A;
    --gabivo-muted: #617187;
    --gabivo-radius: 8px;
}

/* ==========================================
   1. OGOLNY WYGLAD
   ========================================== */

html,
body,
body.no-skin,
.main-container {
    background: var(--gabivo-bg);
    color: var(--gabivo-text);
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

a,
.ace-icon.blue,
.blue {
    color: var(--gabivo-primary);
}

a:hover,
a:focus {
    color: var(--gabivo-primary-hover);
}

:focus-visible {
    outline: 2px solid var(--gabivo-accent);
    outline-offset: 2px;
}

/* ==========================================
   2. GORNY PASEK
   ========================================== */

.navbar,
.navbar-default,
.navbar.navbar-default,
#navbar {
    background: var(--gabivo-graphite) !important;
    border-color: #1E2530 !important;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus,
.navbar .navbar-nav > li > a,
.navbar .nav > li > a {
    color: #F6F9FC !important;
}

.navbar .navbar-nav > li > a:hover,
.navbar .nav > li > a:hover,
.navbar .navbar-nav > li.open > a {
    background: var(--gabivo-graphite-2) !important;
}

.navbar .navbar-toggle {
    border-color: #73839A;
}

.navbar .navbar-toggle .icon-bar {
    background: #FFFFFF;
}

/* ==========================================
   3. MENU BOCZNE
   ========================================== */

.sidebar,
.sidebar.menu-min,
#sidebar,
.sidebar:before {
    background: var(--gabivo-graphite) !important;
    border-color: #394454 !important;
}

.sidebar .nav-list > li,
.sidebar .nav-list > li > a,
.sidebar .nav-list > li .submenu,
.sidebar .nav-list > li .submenu > li > a,
.sidebar .sidebar-shortcuts,
.sidebar .sidebar-toggle {
    background: var(--gabivo-graphite) !important;
    border-color: #394454 !important;
}

.sidebar .nav-list > li > a,
.sidebar .nav-list > li .submenu > li > a,
.sidebar .nav-list > li > a > .menu-text,
.sidebar .nav-list > li > a > .menu-icon,
.sidebar .nav-list > li .submenu > li > a > .menu-icon {
    color: #D8E2F1 !important;
}

.sidebar .nav-list > li > a:hover,
.sidebar .nav-list > li .submenu > li > a:hover,
.sidebar .nav-list > li:hover > a {
    background: #334155 !important;
}

.sidebar .nav-list > li.active > a,
.sidebar .nav-list > li.active > a:hover,
.sidebar .nav-list > li.active.highlight > a,
.sidebar .nav-list > li.open > a {
    background: var(--gabivo-primary) !important;
    color: #FFFFFF !important;
}

.sidebar .nav-list > li.active > a .menu-icon,
.sidebar .nav-list > li.active > a .menu-text {
    color: #FFFFFF !important;
}

.sidebar .nav-list > li.active:before {
    background: var(--gabivo-accent) !important;
}

.sidebar .sidebar-toggle > .ace-icon,
.sidebar .sidebar-shortcuts .btn {
    color: #EAF1FA !important;
}

/* ==========================================
   4. UKLAD STRONY
   ========================================== */

.main-content,
.main-content-inner,
.page-content {
    background-color: var(--gabivo-bg);
}

.page-header {
    border-bottom: 1px solid var(--gabivo-line);
    padding-bottom: 12px;
}

.page-header h1,
h1,
h2,
h3 {
    color: var(--gabivo-graphite);
}

.breadcrumbs {
    background: #FFFFFF !important;
    border-bottom: 1px solid var(--gabivo-line) !important;
}

.breadcrumb > li,
.breadcrumb > li a {
    color: var(--gabivo-muted);
}

/* ==========================================
   5. PANELE I KARTY
   ========================================== */

.widget-box,
.panel,
.well,
.profile-user-info,
.tab-content,
.filter-box,
.table-responsive {
    background: var(--gabivo-panel);
    border: 1px solid var(--gabivo-line);
    border-radius: var(--gabivo-radius);
}

.widget-box,
.panel {
    box-shadow: 0 2px 9px rgba(36,42,53,.045);
    margin-bottom: 16px;
}

/* Blekitne naglowki z bialym tekstem */

.widget-box > .widget-header,
.widget-header,
.widget-header[class*="header-color-"],
.widget-header[class*="widget-header-"],
.panel > .panel-heading,
.panel-heading {
    background: var(--gabivo-primary) !important;
    background-image: none !important;
    border-color: var(--gabivo-primary-hover) !important;
    color: #FFFFFF !important;
}

/* Mniejsza czcionka naglowkow - 14px */

.widget-header .widget-title,
.widget-header h1,
.widget-header h2,
.widget-header h3,
.widget-header h4,
.widget-header h5,
.panel-heading .panel-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
}

.widget-header {
    min-height: 34px !important;
    line-height: 34px !important;
}

.widget-header .widget-title {
    line-height: 34px !important;
}

.widget-header .widget-toolbar {
    line-height: 34px !important;
}

.widget-header .widget-toolbar,
.widget-header .widget-toolbar a,
.widget-header .widget-toolbar .ace-icon,
.widget-header .ace-icon,
.widget-header a,
.widget-header a:hover,
.widget-header a:focus,
.panel-heading a,
.panel-heading .ace-icon {
    color: #FFFFFF !important;
    text-shadow: none !important;
}

.widget-header .badge,
.widget-header .label {
    color: #243246 !important;
    background: #E7EDF5 !important;
    font-size: 11px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
}

.widget-header .btn-primary,
.widget-header .btn-info {
    background: #245C9B !important;
    border-color: #245C9B !important;
    color: #FFFFFF !important;
}

.widget-header .btn-primary:hover,
.widget-header .btn-info:hover {
    background: #194C83 !important;
}

.widget-header .widget-toolbar > a:hover,
.widget-header .widget-toolbar > a:focus {
    background: rgba(255,255,255,.12) !important;
}

.widget-header .widget-toolbar .ace-icon {
    opacity: 1;
}

.widget-body,
.panel-body {
    background: #FFFFFF;
    border-radius: 0 0 8px 8px;
}

/* ==========================================
   6. TABELE ZGLOSZEN
   ========================================== */

table,
.table {
    background: #FFFFFF;
}

.table > thead > tr > th,
.table thead th,
table.table thead td {
    color: #243246;
    background: #EAF0F7 !important;
    border-bottom: 1px solid #CBD6E4 !important;
    font-weight: 600;
}

.table > tbody > tr > td,
.table > tbody > tr > th {
    border-color: #E8EDF3;
    vertical-align: middle;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: #FFFFFF;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background: #F7F9FC;
}

.table-hover > tbody > tr:hover,
.table-striped > tbody > tr:hover {
    background: #EAF3FD !important;
}

.table a {
    font-weight: 500;
}

.table-bordered {
    border-color: var(--gabivo-line);
}

/* ==========================================
   7. PRZYCISKI
   ========================================== */

.btn {
    border-radius: 6px;
    text-shadow: none !important;
    box-shadow: none !important;
    transition: background-color .15s ease,
                border-color .15s ease;
}

.btn-primary,
.btn-info,
.btn-blue,
.btn.btn-primary,
.btn.btn-info {
    background: var(--gabivo-primary) !important;
    border-color: var(--gabivo-primary) !important;
    color: #FFFFFF !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-info:hover,
.btn-info:focus,
.btn-blue:hover {
    background: var(--gabivo-primary-hover) !important;
    border-color: var(--gabivo-primary-hover) !important;
}

.btn-default,
.btn-light {
    background: #F9FBFD !important;
    border-color: #CBD6E4 !important;
    color: #27364B !important;
}

.btn-default:hover,
.btn-light:hover {
    background: #EDF3FA !important;
}

.btn-success {
    background: #238B69 !important;
    border-color: #238B69 !important;
}

.btn-danger {
    background: #C94B56 !important;
    border-color: #C94B56 !important;
}

.btn-warning {
    background: #D28A26 !important;
    border-color: #D28A26 !important;
}

.btn:disabled,
.btn.disabled {
    opacity: .62;
}

/* ==========================================
   8. FORMULARZE I FILTRY
   ========================================== */

.form-control,
input[type="text"],
input[type="password"],
input[type="search"],
input[type="email"],
select,
textarea {
    border-radius: 6px;
    border-color: #C9D4E2;
    background-color: #FFFFFF;
    color: var(--gabivo-text);
}

.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    border-color: var(--gabivo-primary) !important;
    box-shadow: 0 0 0 2px rgba(52,120,192,.12) !important;
}

label,
.control-label {
    color: #35465C;
}

.input-group-addon {
    background: #F2F5F9;
    border-color: #C9D4E2;
}

/* ==========================================
   9. STATUSY I ETYKIETY
   ========================================== */

.label,
.badge {
    border-radius: 5px;
    text-shadow: none;
    font-weight: 600;
}

.label-info,
.badge-info {
    background: #D9EBFF !important;
    color: #1858A3 !important;
}

.label-primary,
.badge-primary {
    background: #BEDCFA !important;
    color: #154E98 !important;
}

.label-success,
.badge-success {
    background: #D5F1E3 !important;
    color: #176B45 !important;
}

.label-warning,
.badge-warning {
    background: #FFF0C4 !important;
    color: #925B00 !important;
}

.label-danger,
.badge-danger,
.label-important {
    background: #FFD9DC !important;
    color: #9B2630 !important;
}

.label-default,
.badge-default {
    background: #E4EAF1 !important;
    color: #3A485C !important;
}

/* ==========================================
   10. KOMUNIKATY I NAWIGACJA
   ========================================== */

.alert {
    border-radius: 7px;
}

.alert-info {
    background: #EDF5FE;
    color: #24527E;
    border-color: #CDE2F8;
}

.alert-success {
    background: #EAF8F0;
    color: #286B4B;
    border-color: #CBEAD9;
}

.alert-warning {
    background: #FFF8E8;
    color: #805616;
    border-color: #F7E7B8;
}

.alert-danger {
    background: #FDEFF0;
    color: #99343D;
    border-color: #F5D0D4;
}

.nav-tabs > li.active > a {
    border-top: 2px solid var(--gabivo-primary) !important;
    color: var(--gabivo-primary) !important;
}

.pagination > .active > a,
.pagination > .active > span {
    background: var(--gabivo-primary) !important;
    border-color: var(--gabivo-primary) !important;
    color: #FFFFFF !important;
}

.pagination > li > a,
.pagination > li > span {
    color: var(--gabivo-primary);
}

.modal-content,
.dropdown-menu {
    border-radius: 8px;
    border-color: var(--gabivo-line);
    box-shadow: 0 12px 32px rgba(36,42,53,.15);
}

.modal-header {
    background: #F2F6FA;
    border-radius: 8px 8px 0 0;
}

.dropdown-menu > li > a:hover {
    background: #EDF4FC;
}

/* ==========================================
   11. EKRAN LOGOWANIA GABIVO
   ========================================== */

body.login-layout,
.login-layout {
    background: #F5F7FA !important;
    color: #242A35 !important;
}

/* Kontener ekranu logowania */

.login-layout .login-container {
    width: 100%;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
}

/* Ukrycie standardowego logo MantisBT.
   Reguly uwzgledniaja typowa strukture ACE.
   W niestandardowych instalacjach nalezy
   sprawdzic selektor logo. */

.login-layout .login-container > .center:first-child > h1,
.login-layout .login-container > .center:first-child > h4 {
    display: none !important;
}

/* Tymczasowe logo tekstowe Gabivo */

.login-layout .login-container > .center:first-child::before {
    content: "gabivo.";
    display: block;
    text-align: center;
    color: #242A35;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.3;
    margin: 0 0 20px;
}

/* Karta logowania */

.login-layout .login-box .widget-box,
.login-layout .login-box .widget-main,
.login-layout .login-box .widget-body {
    background: #FFFFFF !important;
}

.login-layout .login-box .widget-box {
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(36,42,53,.09);
}

.login-layout .login-box .widget-main {
    padding: 28px !important;
}

/* Naglowek formularza */

.login-layout .login-box .widget-header {
    background: #3478C0 !important;
    background-image: none !important;
    border-color: #3478C0 !important;
    min-height: 38px !important;
    line-height: 38px !important;
}

.login-layout .login-box .widget-header .widget-title,
.login-layout .login-box .widget-header h4 {
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 38px !important;
}

/* Pola loginu i hasla */

.login-layout input[type="text"],
.login-layout input[type="password"],
.login-layout .form-control {
    min-height: 42px;
    background: #FFFFFF !important;
    color: #242A35 !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.login-layout input:focus,
.login-layout .form-control:focus {
    border-color: #3478C0 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52,120,192,.15) !important;
}

.login-layout input::placeholder {
    color: #94A3B8;
}

/* Przycisk zaloguj */

.login-layout .btn-success,
.login-layout .btn-primary,
.login-layout .btn-info {
    background: #3478C0 !important;
    border: 1px solid #3478C0 !important;
    color: #FFFFFF !important;
    border-radius: 7px !important;
    min-height: 42px;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.login-layout .btn-success:hover,
.login-layout .btn-primary:hover,
.login-layout .btn-info:hover {
    background: #2867AA !important;
    border-color: #2867AA !important;
}

/* Dolny pasek formularza */

.login-layout .login-box .toolbar {
    background: #F1F5F9 !important;
    border-top: 1px solid #E2E8F0 !important;
}

.login-layout .login-box .toolbar a {
    color: #3478C0 !important;
    font-size: 13px;
    font-weight: 500;
}

.login-layout .login-box .toolbar a:hover {
    color: #245C9B !important;
}

/* Linki i komunikaty */

.login-layout a {
    color: #3478C0;
}

.login-layout .alert {
    border-radius: 7px;
    font-size: 13px;
}

.login-layout hr {
    border-color: #E2E8F0;
}

/* ==========================================
   12. RESPONSYWNOSC
   ========================================== */

@media (max-width: 767px) {
    .page-content {
        padding: 12px 10px;
    }

    .widget-box,
    .panel {
        margin-bottom: 12px;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .login-layout .login-container {
        width: calc(100% - 24px);
    }

    .login-layout .login-box .widget-main {
        padding: 20px !important;
    }

    .login-layout
    .login-container > .center:first-child::before {
        font-size: 32px;
    }
}

/* ==========================================
   13. DOSTEPNOSC
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}


/* ================================================
   GABIVOTHEME 1.2.1
   POPRAWKA LOGOWANIA - MANTISBT 2.25/2.26
   Dopasowana do rzeczywistego HTML
   ================================================ */

/* Tlo calego ekranu */

body.login-layout.light-login,
body.login-layout.light-login .main-container,
body.login-layout.light-login .main-content {
    background: #F5F7FA !important;
}

/* Kontener logowania */

body.login-layout .login-container {
    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto !important;
}

/* Ukrycie oryginalnego logo MantisBT */

body.login-layout .login-logo img {
    display: none !important;
}

/* Zastępczy napis Gabivo */

body.login-layout .login-logo::before {
    content: "gabivo.";
    display: block;
    text-align: center;

    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1.8px;

    color: #242A35;
    line-height: 1.3;
}

/* Podpis pod logo */

body.login-layout .login-logo::after {
    content: "System obsługi zgłoszeń";
    display: block;
    text-align: center;

    color: #64748B;
    font-size: 13px;
    margin-top: 5px;
}

/* Karta logowania */

body.login-layout #login-box {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    overflow: hidden;

    box-shadow: 0 12px 35px
        rgba(36, 42, 53, 0.10) !important;
}

/* Wnetrze karty */

body.login-layout #login-box .widget-body,
body.login-layout #login-box .widget-main {
    background: #FFFFFF !important;
}

body.login-layout #login-box .widget-main {
    padding: 28px !important;
}

/* Naglowek Logowanie */

body.login-layout #login-box
.widget-main h4.header {
    background: transparent !important;
    color: #242A35 !important;

    font-size: 17px !important;
    font-weight: 600 !important;

    line-height: 28px !important;
    padding-bottom: 12px !important;

    border-bottom: 1px solid #E2E8F0 !important;
}

/* Ikona logowania */

body.login-layout #login-box
.widget-main h4.header .ace-icon {
    color: #3478C0 !important;
}

/* Pole nazwy uzytkownika */

body.login-layout #username {
    width: 100% !important;
    height: 44px !important;

    background: #FFFFFF !important;
    color: #242A35 !important;

    border: 1px solid #CBD5E1 !important;
    border-radius: 7px !important;

    font-size: 14px !important;
    padding: 10px 35px 10px 12px !important;
}

/* Pole hasla - kolejny etap logowania */

body.login-layout input[type="password"] {
    width: 100% !important;
    height: 44px !important;

    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 7px !important;

    color: #242A35 !important;
    font-size: 14px !important;
}

/* Aktywne pole */

body.login-layout #username:focus,
body.login-layout input[type="password"]:focus {
    border-color: #3478C0 !important;
    outline: none !important;

    box-shadow: 0 0 0 3px
        rgba(52, 120, 192, 0.15) !important;
}

/* Ikona uzytkownika w polu */

body.login-layout .input-icon > .ace-icon {
    color: #64748B !important;
}

/* Przycisk logowania */

body.login-layout
#login-form input[type="submit"] {
    background: #3478C0 !important;
    background-image: none !important;

    border: 1px solid #3478C0 !important;
    border-radius: 7px !important;

    color: #FFFFFF !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    height: 44px !important;
    text-shadow: none !important;

    box-shadow: none !important;
}

/* Przycisk po najechaniu */

body.login-layout
#login-form input[type="submit"]:hover {
    background: #2867AA !important;
    border-color: #2867AA !important;
}

/* Dolna belka */

body.login-layout #login-box .toolbar {
    background: #F1F5F9 !important;
    border-top: 1px solid #E2E8F0 !important;
    padding: 14px 22px !important;
}

/* Link rejestracji */

body.login-layout #login-box .toolbar a {
    color: #3478C0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Mobilne logowanie */

@media (max-width: 480px) {
    body.login-layout .login-container {
        width: calc(100% - 24px) !important;
    }

    body.login-layout #login-box .widget-main {
        padding: 20px !important;
    }

    body.login-layout .login-logo::before {
        font-size: 34px;
    }
}


/* GabivoTheme - dopracowanie logowania */

/* Mniejszy odstęp pod logo */
body.login-layout .login-logo {
    margin-bottom: -12px !important;
}

/* Przycisk na całą szerokość */
body.login-layout #login-form input[type="submit"] {
    width: 100% !important;
    float: none !important;
    margin-top: 8px !important;
}

/* Wyrównanie formularza */
body.login-layout #login-form fieldset {
    width: 100%;
}

/* Nieco mniejszy nagłówek */
body.login-layout #login-box .widget-main h4.header {
    font-size: 16px !important;
}
