/*Layout*/
html,
body {
    margin: 0;
    padding: 0;
    -ms-overflow-style: scrollbar;
}
header {
    flex: none;
    border-bottom: 1px solid #c7c7c7;
    background:#fff;
    width: 100%;
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
    top: -100px;
    z-index: 1000;
}
header.shrink {
    opacity: 0.9;
    position: fixed;
    top: 0;
    left: 0;
}
.title {
    float: left;
    padding: 8px 0px;
}
.title a {
    font-weight:600;
    font-size: 1.8em;
    color: #c7c7c7;
    text-decoration: none;
}
.title p {
    color: #b2b2b2;
    margin: 0;
}
.expandBar {
    padding: 0px !important;
    width: 100%;
}
.expandedPanel .title {
    display: none;
}
.panelContent {
    padding-top: 15px;
}
.expandedPanel .pull-right  {
    float: none !important;
}
.panelItem {
    display: inline-block;
}
.expandedPanel .panelItem {
    display: block;
}
.expandedPanel .panelContent {
    padding-bottom: 15px;
}
.searchBox {
    margin-left: 20px;
}
.searchBox img,
.searchBox .dx-acc {
    display: none;
}
.searchBoxButton {
    font-size: 17px;
}
.navMenu {
    float: right;
    margin: 0px 0px 2px 0px;
}
.expandedPanel .navMenu {
    width: 100%;
    margin: 10px 0px;
}
.expandedPanel .searchBox {
    width: 100%;
    margin-left: 0px;
}
.loginButton {
    margin: 0px 0px 1px 20px;
}
.expandedPanel .loginButton {
    width: 100%;
    margin: 10px 0px 0px 0px;
    text-align:left;
}
.expandedPanel .loginButton .dropdown-toggle {
    width: 100%;
}
.loginButton-large,
.expandedPanel .loginButton-small {
    display: none;
}
.expandedPanel .loginButton-large {
    display: inline-block;
}
.btnBackToTop {
    background: none;
    margin: 0;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    z-index: 100;
    display: inline;
    text-decoration: none;
    cursor: pointer;
}
.btnBackToTop i {
    font-size: 60px;
    color: #c7c7c7;
}
.btnBackToTop i:hover {
    color: #e0e0e0;
}
.footerUp {
    padding-bottom: 26px;
    background: #6f6f6f;
}
.footerDown {
    background: #525252;
}
.footerDown p {
    margin: 16px 0px;
}
.wrapper {
    display: flex;
    height: 100vh;
    flex-direction: column;
}
.content {
    flex: 1 0 auto;
    margin-bottom: 40px;
}
footer {
    flex: none;
    color: white;
}
footer a {
    color: #cecaca;
}
footer a:hover,
footer a:focus {
    color: #fff;
}
footer h4 {
    margin-top: 32px;
}
.latestPosts li:not(:last-child) {
    border-bottom: 1px dotted #fff;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
/*Home*/
.mainText {
    margin: 0 auto;
    max-width: 650px;
}
.features {
    margin-top: 40px;
}
.features .media {
    margin-top: 20px;
}
.features .featureIcon {
    font-size: 50px;
}
.marginTop20 {
    margin-top: 20px;
}
.marginTop40 {
    margin-top: 40px;
}
.customers .media {
    margin-top: 40px;
}
/*Contact Us*/
.map {
    height: 300px;
}
/*Blog*/
.blogImage {
    width: 100%;
}
.dataViewPosts .blogImage {
    padding-top: 25px;
}
.blogNavBar .blogNabVarGroupHeader a {
    text-decoration: none !important;
}
.blogNavBar {
    margin-top: 45px;
}
.user {
    font-size: 64px;
}
/*Dx*/
.dxflGroup_MetropolisBlue {
    padding-left: 0px;
}

/* Office365 – dla komórek kolumny poleceń ORAZ dla tabeli z przyciskami */
tr.dxgvFocusedRow_Office365 td.dxgvCommandColumn_Office365 img[class^="dxIcon_"],
tr.dxgvFocusedRow_Office365 .table-przyciski img[class^="dxIcon_"],
tr.dxgvSelectedRow_Office365 td.dxgvCommandColumn_Office365 img[class^="dxIcon_"],
tr.dxgvSelectedRow_Office365 .table-przyciski img[class^="dxIcon_"] {
    filter: invert(0) brightness(2.8) contrast(1.2) !important;
}

/* Inne skórki (fallback) */
tr.dxgvFocusedRow td.dxgvCommandColumn img[class^="dxIcon_"],
tr.dxgvFocusedRow .table-przyciski img[class^="dxIcon_"],
tr.dxgvSelectedRow td.dxgvCommandColumn img[class^="dxIcon_"],
tr.dxgvSelectedRow .table-przyciski img[class^="dxIcon_"] {
    filter: invert(0) brightness(1.8) contrast(1.2) !important;
}

/* Odstęp między wierszami w tabeli przycisków */
.table-przyciski tr td {
    padding-bottom: 5px; /* np. 5px odstępu */
}





/* --- Układ strony logowania (scalony, bez duplikatów) --- */
.auth-page {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    z-index: 1; /* nad tłem */
}

/* Tło pełnoekranowe – niezależne od .container */
.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0; /* pod treścią i pod menu */
    pointer-events: none; /* nie blokuje klików */
    background: linear-gradient(180deg, #f0f4f9 0%, #dbe4f0 100%);
}

/* Karta formularza */
.auth-card {
    position: relative;
    z-index: 1;
    width: min(420px, 92vw);
    padding: 28px 26px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    color: #1b1f23;
}

/* Nagłówek/tytuły/tekst pomocniczy */
.auth-brand {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.auth-title {
    margin: 4px 0;
    font-size: 1.6rem;
    color: #0f172a;
}

.auth-subtitle {
    margin: 0 0 16px;
    color: #475569;
}

.auth-summary {
    margin-bottom: 6px;
}

/* Pola DevExpress – wygląd */
.auth-card .dxeRoot {
    width: 100% !important;
}

.auth-card .dxeCaption {
    color: #334155 !important;
    font-weight: 600;
}

.auth-card .dxeTextBox, .auth-card .dxeButtonEdit {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
}

    .auth-card .dxeTextBox:hover, .auth-card .dxeButtonEdit:hover {
        border-color: #94a3b8 !important;
    }

.auth-card .dxeFocused {
    border-color: #0b63e6 !important;
    box-shadow: 0 0 0 3px rgba(11,99,230,.15) !important;
    background: #ffffff !important;
}

.auth-card .dxeEditAreaSys {
    color: #0f172a !important;
}

/* Kompaktowe odstępy etykiet (skórka Office365) */
.auth-card .dxeCaptionCell_Office365.dxeCLTSys,
.auth-card .dxeCaptionCell_Office365.dxeCLBSys {
    padding-top: 12px !important; /* oddech nad etykietą */
    padding-bottom: 4px !important; /* ciasno pod etykietą */
}

/* Odstęp tylko pod ostatnim polem (przed przyciskiem) */
.auth-card .auth-field:last-of-type {
    margin-bottom: 12px !important;
}

/* Rząd „zapamiętaj/nie pamiętasz” */
.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 14px;
}

/* Przyciski i linki */
.auth-btn {
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-weight: 600;
    background: #0b63e6 !important;
    color: #fff !important;
    border: none !important;
    margin-top: 18px; /* oddech nad przyciskiem */
}

    .auth-btn:hover {
        filter: brightness(0.95);
    }

.auth-link {
    color: #0078d4;
    text-decoration: none;
    font-size: .95rem;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-alt {
    text-align: center;
    margin-top: 12px;
    color: #475569;
}

/* Małe ekrany */
@media (max-width: 420px) {
    .auth-card {
        padding: 22px 18px;
    }
}
