﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.page {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.page-content {
    display: flex;
    flex: 1;
    overflow-y: auto;
}

.leftnav {
    width: 220px; /* Adjust as needed */
    flex-shrink: 0;
    padding: 10px;
    display: none; /* Initially hidden */
    /*overflow-y: auto;*/ /* Enable scrolling */
    /*height: calc(100vh - 60px);*/ /* Full height minus header height */
}

.vertical-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-menu a {
    display: block;
    text-decoration: none;
    color: #333;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.horizontal-menu {
    display: none; /* Initially hidden */
}

/* Add this to show the appropriate menu */
.show-horizontal .horizontal-menu {
    display: block;
}

.show-vertical .vertical-menu {
    display: block;
}

.show-vertical .leftnav {
    display: block;
}

.show-horizontal .leftnav {
    display: none;
}


.font9
{
    font-size: 9pt !important;
}
.fontbolddiv label {
    font-weight: bold !important;
}

.bg-wall-cog {
    background-image: url('../Content/img/PolsCog.jpg');
    margin-right: 5px;
}
.bg-wall-uni {
    background-image: url('../Content/img/PolsUni.jpg');
    margin-right: 5px;
}
.bg-wall-stream {
    background-image: url('../Content/img/PolsStream.jpg');
    background-repeat: round;
    margin-right: 5px;
}
.bg-wall-BZ {
    background-image: url('../Content/img/brunata.png');
    background-color: #4d7892;
    background-repeat: unset;
    margin-right: 5px;
}
.bg-wall-w8 {
    background-image: url('../Content/img/2.png');
    margin-right: 5px;
}
.bg-wall-none {
    background-color: rgba(0,0,0,0.03);
    margin-right: 5px;
}
.bg-wall-nonedark {
    background-color: rgba(0,0,0,0.97);
    margin-right: 5px;
}
.bg-header-n {
    background-color: #E8EEF4;
}
.bg-header-r {
    background-color: #C6C6C6;
}

#KrisSchedule {
    display: block;
}
#KrisSchedule thead {

}
#KrisSchedule tbody {
    
       width: 100%;

    overflow-y: scroll;
}
#KrisSchedule thead tr {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
.fixed-header {
    background-color: white;
    z-index:1001;
}      
.logoFooter 
{
     background-image: url('../Content/img/logo.png');
     width: 275px;
     height: 50px;
     background-repeat: no-repeat;
     float: none;
     display: inline-block;
}

.logoFooterMother 
{
     background-image: url('../Content/img/Motherson.jpg');
     width: 200px;
     height:200px;
     background-repeat: no-repeat;
     float: right;
     display: inline-block;
     overflow: hidden;
    background-size: cover;
    background-position: center;
}

.logoFooterInvesta 
{
     background-image: url('../Content/img/Investa.gif');
     width: 442px;
     height:79px;
     background-repeat: no-repeat;
     float: right;
     display: inline-block;
     overflow: hidden;
    background-size: cover;
    background-position: center;
}

.logoFooterBrunata_ZENNER 
{
     background-image: url('../Content/img/BZ.png');
     width: 442px;
     height:179px;
     background-repeat: no-repeat;
     float: right;
     display: inline-block;
     overflow: hidden;
    background-size: cover;
    background-position: center;
}

.circle-chart__circle 
{
  animation: circle-chart-fill 1.5s reverse;
  transform: rotate(-90deg);
  transform-origin: center;
}
.circle-chart__circleOT 
{
  animation: circle-chart-fill 1s reverse;
  transform: rotate(270deg);
  transform-origin: center;
  animation-fill-mode: both;
  animation-delay: 1.5s
}
@keyframes circle-chart-fill 
{
  to { stroke-dasharray: 0 100; }
}
.circle-chart__subline {
    alignment-baseline: baseline !important; /* reset since Chrome wrongfully sees it as valid */
    position: relative;
    top: 2px; /* will need to be chart-based, manually computed */
}
.circle-chart__percent {
    alignment-baseline: baseline !important; /* reset since Chrome wrongfully sees it as valid */
  position: relative;
  top: 2px; /* will need to be chart-based, manually computed */
}

.gridTable tfoot tr td
{
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}
.gridTable
{
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius:  10px 10px 10px 10px;
    border-radius:  10px 10px 10px 10px;
}
.gridHead
{
    -webkit-border-radius: 10px 10px 0 0;
     -moz-border-radius: 10px 10px 0 0;
     border-radius: 10px 10px 0 0;
}
.gridHead-i {
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
}

input.radiusShadow
{
    -webkit-border-radius: 5px 5px 5px 5px;
     -moz-border-radius: 5px 5px 5px 5px;
     border-radius: 5px 5px 5px 5px;
 
    -webkit-box-shadow:  1px 1px 3px rgb(127, 128, 126);
    -moz-box-shadow:  1px 1px 3px rgb(127, 128, 126);
    box-shadow: 1px 1px 3px rgb(127, 128, 126);
    text-align: center;
}

fieldset.radiusShadow
{
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 1px 1px 5px rgb(127, 128, 126);
}

input.radiusShadowAuto
{
    -webkit-border-radius: 5px 5px 5px 5px;
     -moz-border-radius: 5px 5px 5px 5px;
     border-radius: 5px 5px 5px 5px;
 
    -webkit-box-shadow:  1px 1px 3px rgb(127, 128, 126);
    -moz-box-shadow:  1px 1px 3px rgb(127, 128, 126);
    box-shadow: 1px 1px 3px rgb(127, 128, 126);
    text-align: center;
    width: 100% !important;
}

.month-calendar
{
    float:left;
    margin-right:10px !important;
    -webkit-border-radius: 10px 10px 0 0;
     -moz-border-radius: 10px 10px 0 0;
     border-radius: 10px 10px 0 0;
 
    -webkit-box-shadow:  #666 2px 2px 10px;
    -moz-box-shadow:  #666 2px 2px 10px;
    box-shadow: #666 2px 2px 10px;
}
.nohover
{
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
}

td.bottom {
    border-bottom: 1px #aaa solid !important;
}
.metrouicss table tbody th.success {
  color: #00a300 !important; 
}
.metrouicss table tbody th.error {
  color: #b91d47 !important;
}
.metrouicss table tbody th.warning {
  color: #e3a21a !important;
}
.metrouicss table tbody th.info {
  background-color: #f8f5d5 !important;
}

a.hiddenLink:link {
    color: inherit;
    text-decoration: none;
}
a.hiddenLink:visited {
    color: inherit;
    text-decoration: none;
}
a.hiddenLink:hover {
    color: inherit;
    text-decoration: underline;
}
a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header 
{
    display:table
}
section {
    display: block;
}

footer 
{}

.nav 
{
    display: inline-block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {    
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important; 
}

section#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
}

footer, 
#footer {
    background-color: #fff;
    color: #e4e4e4;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
}

.wiooterL 
{
    color: #e4e4e4;
    padding: 10px 10px;
    text-align: left;
    line-height: normal;
    margin: 0 0 0 0;
    font-size: .9em;
}

.wiooterP 
{
    color: #e4e4e4;
    padding: 10px 10px;
    text-align: right;
    line-height: normal;
    margin: 0 0 0 0;
    font-size: .9em;
}
/* FLEX!!!! */
.flex { 
  display: flex; 
  justify-content: flex-start;
  /* Optional, if you want the DIVs 100% width: */ 
  /* flex-direction: column;*/ 
}
.flex > #flex1 { order: 1; }
.flex > #flex2 { order: 2; }
.flex > #flex3 { order: 3; }
.flex > #flex4 { order: 4; }

/* TAB MENU   
----------------------------------------------------------*/
#menu {
    /*border-bottom: 1px #5C87B2 solid;*/
    padding: 0 0 2px;
    float: right;
    text-align: center;
    /* min-width: 100%; można floatować do boku */
    min-width: 300px;
    width: 100%; 
    display: block;
    margin-right: -5px;
}
#menu2 {
    /*border-bottom: 1px #5C87B2 solid;*/
    padding: 0 0 2px;
    text-align: center;
    /* min-width: 100%; można floatować do boku */
    min-width: 300px;
    width: 100%;
    display: block;
    margin-right: -5px;
}

    #menu .tile {
        display: inline;
        float: left;
        text-decoration: none;
        width: 95px;
        border-radius: 3px;
        /* transition: all .9s linear;
    white-space:nowrap; */
    }

    #menu2 .tile {
    display: inline;
    float: left;
    text-decoration: none;
    width: 95px;
    border-radius: 3px;
    /* transition: all .9s linear;
    white-space:nowrap; */
}

    #menu li#greeting {
        padding: 10px 20px;
        font-weight: bold;
        text-decoration: none;
        line-height: 2.8em;
        color: #fff;
    }

#menu2 li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

    #menu li a {
        font-weight: bold;
        /*line-height: 2.8em;*/
        text-decoration: none;
        text-align: center;
        display: inline-block;
    }
#menu2 li a {
    font-weight: bold;
    /*line-height: 2.8em;*/
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.separatedLi
{
    border-top: 1px solid #ccc;
}

.redLight  {
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #ff0000;
    color: #034af3;
}

.redLight li a 
{
    background-color: #ff0000;
    color: Red;
}

#menu li a:link a:visited{
}

#menu li a:hover {
    text-decoration: none;
}

#menu li a:active {
    text-decoration: none;
}

#menu li.selected a {
    color: #000;
}

#menu li.redLight a {
    background-color: #f00;
    color: #000;
}
/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
    min-width:250px;
    margin-left: auto;
    margin-right: auto;
}
fieldset.inlinefieldset
{
    display:inline-block;
}
.overTable 
{
    position: absolute;
    margin: 0;
    padding: 0;
    left: 366px !important;
    bottom: 0;
}
.overTable2
{
    position: relative;
    margin: 0;
    padding: 0;
    left: 122px !important;
    bottom: 0;
    top: 10px;
}
.SettlementTable 
{
    border-width:5px;
    width:900px;
    vertical-align:middle;
    margin-left:233px !important;
    border-radius: 10px;
    box-shadow: #666 1px 1px 10px;
}
h2.settle{
    margin-left:255px !important;
}
.settleMargin{
    margin-left:230px !important;
}
.settleMarginHalf{

    margin: 30px 20px 20px 105px !important;
}

td.ui-selected
{
    color:Red !important;
    background-color:#ebfbec !important;
}
td.copied
{
    background-color:#ede6fc !important;
}
td.copiedMods
{
    background-color:#fff2bc !important;
}
td.ui-selected select
{
    color:Red !important;
    background-color:#ebfbec;
}

td.copied select
{
    background-color:#ede6fc !important;
}
td.copiedMods select
{
    background-color:#fff2bc !important;
}

@media only screen and (min-width: 980px) 
{
  .fieldset {
    width: 70%;
  }
}

div.headerScroller
{
    max-height:500px;
    overflow:auto;
    padding:0px;
    margin:0px;
}

div.headerScrollerFull
{
    overflow:auto;
    padding:0px;
    margin:0px;
}

div.headerScrollerAuto
{
    min-height:300px;
    height:70vh;
    overflow:auto;
    padding:0px;
    margin:0px;
}

div.icon a[title]:hover:after  
{
  background-color: White; 
  border-radius: 6px;
  content: attr(title);
  display:  block;
  position: absolute;
  overflow:  visible;
  font-size: large;
  font-weight:bold;
  color: red;
  margin-left: 25px;
  padding: 0px 4px 4px 8px;
  z-index: 100;

}
    @media only screen and (max-width: 1550px) {
        .calendarSpan {
            display: none;
        }

        .metrouicss div.buttonText4 {
            font-size: 59% !important;
        }

        .overTable {
            left: 266px !important;
        }

        .overTable2 {
            left: 22px !important;
        }

        .SettlementTable {
            border-width: 5px;
            width: 900px;
            vertical-align: middle;
            margin-left: 133px !important;
        }

        h2.settle {
            margin-left: 155px !important;
        }

        .settleMargin {
            margin-left: 0px !important;
        }

        .settleMarginHalf {
            margin-left: 0px !important;
        }
    }

    legend {
        font-size: 1.2em;
        font-weight: bold;
    }

    textarea {
        min-height: 75px;
    }

    input[type="text"],
    input[type="password"] {
        border: 1px solid #ccc;
        padding: 2px;
        font-size: 1.2em;
        color: #444;
        width: 200px;
        background-color: #ebf5f1;
    }

    select {
        border: 1px solid #ccc;
        padding: 2px;
        font-size: 1.2em;
        color: #444;
    }

    .overcircle {
        padding: 3px;
        margin: 1px;
        font-weight: 500;
        border: solid;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
    }

    input[type="submit"] {
        font-size: 1.2em;
        padding: 5px;
        -webkit-box-shadow: #666 0px 2px 3px;
        -moz-box-shadow: #666 0px 2px 3px;
        box-shadow: #666 0px 2px 3px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }

    /* TABLE
----------------------------------------------------------*/

    table {
        border: solid 1px #e8eef4;
        border-collapse: collapse;
    }

    .month-calendar {
        border: solid 0px #e8eef4;
    }

    table td {
        padding: 5px;
        border: solid 1px #e8eef4;
        text-align: center;
    }

    table th {
        padding: 6px 5px;
        text-align: left;
        /* background-color: #e8eef4; */
        border: solid 1px #e8eef4;
    }

    /* MISC  
----------------------------------------------------------*/
    .clear {
        clear: both;
    }

    .error {
        color: Red;
    }

    nav,
    #menucontainer {
        margin-top: 40px;
    }

    div#title {
        display: block;
        float: left;
        text-align: left;
    }

        div#title h1 {
            background-color: Navy;
            padding: 5px 20px 5px 40px;
            margin-left: -20px;
            color: White !important;
        }

            div#title h1 a {
            }

    div#right-container {
        display: block;
        float: right;
    }

    div#login-display {
        display: block;
        float: none;
        text-align: right;
        height: 54px;
        padding: 0px 10px;
    }

    div#login-container {
        display: inline;
        text-align: right;
        vertical-align: middle;
        float: right;
    }

        div#login-container a {
            font-size: 1.1em;
            text-decoration: bold blink;
            padding: 15px 15px 15px 15px;
            display: block;
            color: #FFF;
            background-color: #726B6B;
        }

    #login-container a:link a:visited {
    }

    #login-container a:hover a:active {
        color: white;
    }

    select.sucokeokr {
        text-align: center;
        width: 100%;
        min-width: 80px;
        font-size: 16px;
        line-height: 1;
        border: 0;
        border-radius: 5px;
        background: url('../Content/img/16x16/arrow-d.png') no-repeat right #ddd;
        background-color: transparent;
        -webkit-appearance: none;
        -moz-appearance: none; /* Firefox */
        text-align-last: center; /* Chrome */
    }

    select.sucokeokrMod {
        text-align: center;
        color: #a41c1c;
        width: 100%;
        min-width: 80px;
        font-size: 16px;
        line-height: 1;
        border: 0;
        border-radius: 5px;
        background: url('../Content/img/16x16/arrow-d.png') no-repeat right #ddd;
        background-color: transparent;
        -webkit-appearance: none;
        -moz-appearance: none; /* Firefox */
        text-align-last: center; /* Chrome */
    }

    select.sucokeokr2 {
        text-align: center;
        width: 150px;
        min-width: 80px;
        font-weight: 300;
        font-size: 11pt;
        line-height: 1;
        border: 0;
        border-radius: 5px;
        background: url('../Content/img/16x16/arrow-d.png') no-repeat right #ddd;
        background-color: transparent;
        -webkit-appearance: none;
        -moz-appearance: none; /* Firefox */
        text-align-last: center; /* Chrome */
    }

    div#language-display {
        display: block;
        float: none;
        text-align: right;
        padding: 5px 15px;
    }

    div#design-display {
        display: block;
        float: none;
        text-align: right;
    }

    /* Styles for validation helpers
-----------------------------------------------------------*/
    .field-validation-error {
        color: #ff0000;
        float: left;
    }

    .field-validation-valid {
        display: none;
    }

    .input-validation-error {
        border: 1px solid #ff0000;
        background-color: #ffeeee;
    }

    .validation-summary-errors {
        font-weight: bold;
        color: #ff0000;
    }

    .validation-summary-valid {
        display: none;
    }

    /* Styles for editor and display helpers
----------------------------------------------------------*/
    .display-label,
    .editor-label {
        margin: 1em 0 0 0;
    }

    .display-field,
    .editor-field {
        margin: 0.5em 0 0 0;
    }

    .text-box {
        width: 30em;
    }

        .text-box.multi-line {
            height: 6.5em;
        }

    .tri-state {
        width: 6em;
    }

    div.clear {
        clear: both;
    }

    div.topnav {
    }

    .topnav #menu {
        display: block;
    }

    .topnav a.icon {
        font-size: x-large;
    }


    /* Style the active link (or home/logo) */
    .active {
        background-color: #4CAF50;
        color: white;
    }

    .halfSize {
        width: 50%
    }

    /* jquery dialog with no close button
----------------------------------------------------------*/
    .ui-dialog-titlebar-close {
        min-width: 0px;
        min-height: 0px;
    }

    .no-close .ui-dialog-titlebar-close {
        display: none;
    }

    .ui-dialog {
        /*z-index: 2000 !important;*/
        box-shadow: 15px 15px 25px 2px rgb(127, 128, 126);
    }

    .ui-front {
        /*z-index: 2000 !important;*/
    }

    /* Addintional styles
----------------------------------------------------------*/
    .bg-white {
        background-color: rgb(255, 255, 255) !important;
    }

    .right-align {
        float: right;
    }

    .metrouicss .span1a {
        width: 80px;
    }

    .ui-datepicker {
        width: 335px !important;
    }

    input.margin, button.margin {
        margin-left: 5px;
        margin-right: 5px;
    }

    .marign-auto {
        margin: auto;
    }

    .divider {
        float: left;
        width: 20px;
        height: 33px;
        vertical-align: middle;
        text-align: center;
        padding: 5px 5px;
    }

    .divider2 {
        float: left;
        width: 50px;
        height: 33px;
        vertical-align: middle;
        text-align: center;
        padding: 5px 5px;
    }

    fieldset.auto-width {
        overflow: visible;
        display: block;
        clear: both;
    }

    /* --- tiles --- */

    .metrouicss .tile.smallwidth-button {
        width: 220px;
        height: 30px;
        padding: 5px 5px 5px 10px;
        margin: auto;
    }

        .metrouicss .tile.smallwidth-button .text {
            text-align: left;
            vertical-align: middle;
        }

    .metrouicss .tile.small-button {
        width: 120px;
        height: 30px;
        padding: 5px 5px 5px 10px;
        margin: auto;
        border-radius: 3px;
        box-shadow: #666 0px 2px 3px;
    }

        .metrouicss .tile.small-button .text {
            text-align: left;
            vertical-align: middle;
        }

    .metrouicss .tile.nav-button {
        width: 120px;
        height: 30px;
        padding: 5px 5px 5px 10px;
        margin: 0px 0px 0px 5px;
    }

        .metrouicss .tile.nav-button .text {
            text-align: left;
            vertical-align: middle;
        }

    @keyframes animtr {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 100;
        }
    }

    tr.rowhighligh {
        background: #eee;
        border-bottom: 1px solid #ddd;
        display: none;
        transform-origin: top;
    }

    tr.activerow {
        background-color: #ADEDBE;
        display: table-row;
        animation: animtr 2s ease;
    }