﻿/*----------------------------------------------------------
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.
----------------------------------------------------------*/
/* ===== NAV 2026 SUBMENU BUTTON ===== */
.fg-color-nav2026 {
    display: inline-block;
    padding: 6px 14px;
    background-color: #4D59A7;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.fg-color-nav2026:hover,
.fg-color-nav2026:focus {
    background-color: #3a4490;
    color: #fff !important;
    text-decoration: none;
}

/* ===== WORKER TABS (nav 2026) ===== */
.worker-tabs-nav {
    padding: 0 16px;
}

.worker-tabs {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none !important;
    list-style-type: none !important;
    border-bottom: 2px solid #d8dce6;
}

.worker-tabs li {
    display: block !important;
    float: none !important;
    margin: 0;
    padding: 0;
    background-color: transparent !important;
    background: none !important;
    color: inherit;
}

.worker-tabs li a {
    display: block;
    padding: 10px 20px;
    color: #596275;
    background-color: transparent;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .15s ease, border-color .15s ease;
}

.worker-tabs li:hover a {
    color: #4D59A7;
    background-color: transparent;
}

/* Override global .active styles that ship with the MVC template */
/* > a - direct child only, so dropdown sub-items are not affected */
.worker-tabs li.active,
.worker-tabs li.active > a {
    background-color: transparent !important;
    background: none !important;
    color: #4D59A7 !important;
}

.worker-tabs li.active > a {
    font-weight: 600;
    border-bottom: 3px solid #4D59A7;
}

/* Active indicator for the sub-item inside dropdown */
.worker-tabs .tabs-dropdown li.active > a {
    color: #4D59A7 !important;
    font-weight: 600;
    background-color: #f3f5ff !important;
}

/* ===== WORKER TABS DROPDOWN ===== */
.worker-tabs li.has-dropdown {
    position: relative;
}

.worker-tabs li.has-dropdown > a::after {
    content: " ▾";
    font-size: 14px;
    vertical-align: middle;
    opacity: 0.6;
}

.worker-tabs li.has-dropdown .tabs-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid #d8dce6;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    z-index: 900;
    padding: 4px 0;
    list-style: none !important;
    margin: 0;
}

.worker-tabs li.has-dropdown:hover .tabs-dropdown,
.worker-tabs li.has-dropdown:focus-within .tabs-dropdown {
    display: block;
}

.worker-tabs li.has-dropdown .tabs-dropdown li {
    display: block !important;
    float: none !important;
    margin: 0;
    padding: 0;
    background: none !important;
}

.worker-tabs li.has-dropdown .tabs-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: #596275;
    font-size: 13px;
    text-decoration: none;
    border-bottom: none;
    white-space: nowrap;
    transition: background-color .12s ease, color .12s ease;
}

.worker-tabs li.has-dropdown .tabs-dropdown li a:hover {
    background-color: #f3f5ff;
    color: #4D59A7;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
/* ===== LOGIN LOADING OVERLAY ===== */
.login-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

    .login-loading-overlay.show-loading {
        display: flex;
        animation: loginFadeIn 0.3s ease-out;
    }

@keyframes loginFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.login-loading-spinner {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    border: 2px solid rgba(74, 144, 226, 0.2);
    animation: loginSpinnerScale 0.4s ease-out;
}

@keyframes loginSpinnerScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.login-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2196f3, #4caf50, #ff9800, #e91e63);
    animation: loginPulseRotate 2s ease-in-out infinite;
    position: relative;
}

@keyframes loginPulseRotate {
    0% {
        transform: rotate(0deg) scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) scale(0.9);
        opacity: 0.8;
    }
}

.login-spinner::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border: 3px solid transparent;
    border-top: 3px solid #2196f3;
    border-radius: 50%;
    animation: loginSpinnerSpin 1s linear infinite;
}

@keyframes loginSpinnerSpin {
    0% {
        transform: rotate(0deg);
        border-top-color: #2196f3;
    }

    25% {
        border-top-color: #4caf50;
    }

    50% {
        transform: rotate(180deg);
        border-top-color: #ff9800;
    }

    75% {
        border-top-color: #e91e63;
    }

    100% {
        transform: rotate(360deg);
        border-top-color: #2196f3;
    }
}

.login-loading-text {
    font-size: 16px;
    color: #424242;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Loading button state */
input[type="submit"].loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
    padding-right: 35px;
}

    input[type="submit"].loading::after {
        content: '';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top: 2px solid #333;
        border-radius: 50%;
        animation: buttonSpin 1s linear infinite;
    }

@keyframes buttonSpin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .login-loading-spinner {
        padding: 30px 20px;
        margin: 0 20px;
        max-width: 280px;
    }

    .login-spinner {
        width: 40px;
        height: 40px;
    }

    .login-loading-text {
        font-size: 14px;
    }
}
/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    border: 2px solid rgba(74, 144, 226, 0.1);
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2196f3, #034af3, #2dc6bc, #221e63);
    animation: pulseRotate 2s ease-in-out infinite;
}

@keyframes pulseRotate {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.7;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.7;
    }
}

    .spinner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 4px solid #e3f2fd;
        border-radius: 50%;
    }

    .spinner::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 4px solid transparent;
        border-top: 4px solid #2196f3;
        border-radius: 50%;
        animation: modernSpin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    }

@keyframes modernSpin {
    0% {
        transform: rotate(0deg);
        border-top-color: #2196f3;
    }

    25% {
        border-top-color: #4caf50;
    }

    50% {
        transform: rotate(180deg);
        border-top-color: #ff9800;
    }

    75% {
        border-top-color: #e91e63;
    }

    100% {
        transform: rotate(360deg);
        border-top-color: #2196f3;
    }
}

.loading-text {
    font-size: 18px;
    color: #424242;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Menu Active State */
.icon-list.menu-active {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.icon-list {
    transition: transform 0.3s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        font-size: 13px;
        padding: 10px 12px;
        min-width: auto;
    }

    .loading-spinner {
        padding: 30px 20px;
        margin: 0 20px;
    }

    .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

    .loading-text {
        font-size: 14px;
    }
}

/* ===== HOVER EFFECTS ===== */
.tile {
    transition: all 0.2s ease;
}

    .tile:hover:not(.loading) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .tile:active:not(.loading) {
        transform: translateY(0px);
    }

/* Menu Button Active State */
.icon-list.menu-active {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.icon-list {
    transition: transform 0.3s ease;
}

/* Responsive Toast */
@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        font-size: 13px;
        padding: 10px 12px;
        min-width: auto;
    }
    
    .loading-spinner {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
    
    .loading-text {
        font-size: 14px;
    }
}

/* ===== HOVER EFFECTS ===== */
.tile {
    transition: all 0.2s ease;
}

.tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tile:active {
    transform: translateY(0px);
}
.toast {
    position: fixed;
    top: 12px;
    right: 20px;
    padding: 15px 10px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 10001;
    display: none;
}
.toast-close {
    margin-left: 20px;
}
.toast-loading {
    background: #2196F3;
}
.toast-info {
    background: #2196F3;
}
.toast-message {
    right: 5px;
}

.toast-success {
    background: #4CAF50;
}

.toast-error {
    background: #F44336;
}

.page {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.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-wall-noneblue {
    background-color: #4D59A7;

    margin-right: 5px;
}
.bg-wall-nonelightgreen {
    background-color: #99b433;
    margin-right: 5px;
}
.bg-wall-nonepinky {
    background-color: #ce1edca6;
    margin-right: 5px;
}
.bg-header-n {
    background-color: #E8EEF4;
}
.bg-header-r {
    background-color: #C6C6C6;
}
.bg-header-nn {
    background-color: #F8F9FD;
}

#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: 10px;
        /* 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="number"],
input[type="password"]
input[type=email],
input[type=url],
input[type=phone],
input[type=password],
input[type=number],
input[type=time]
{
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
    background-color: #ebf5f1;
}

    input[type="text"]:disabled,
    input[type="number"]:disabled,
    input[type="password"]:disabled,
    input[type="email"]:disabled,
    input[type="url"]:disabled,
    input[type="phone"]:disabled,
    input[type="time"]:disabled {
        border: 1px solid #aaa;
        background-color: #f6fdff;
        cursor: help;
    }

    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: 200px;
        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: 0.7em 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;
    }
    .session-warning {
        color: red;
        font-weight: bold;
    }
    .custom-file-upload {
        display: inline-block;
        padding: 6px 12px;
        cursor: pointer;
        background-color: #eee;
        border: 1px solid #ccc;
    }

    .custom-file-upload input[type="file"] {
        display: none;
    }