﻿
body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10pt;
    color: #000000;
    background-color: #ffffff;
    background-position: left top;
    background-repeat: repeat;
    padding: 0px;
    margin: 0px;
}

.cleaner {
    clear: both;
    height: 0px;
    background: transparent;
    font-size: 1px;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
}

.unpaid {
    color: #AD1616;
}

.infoMsg {
    color: #AD1616;
}

.reqLabel {
    color: #AD1616;
    font-weight: bold;
    text-decoration: blink;
}

.negativeAmount {
    color: #AD1616;
}

.thank {
    font-weight: bold;
    color: #008cdd;
}

.debit-zone0 {
    font-weight: bold;
    color: #008cdd;
}

.debit-zone1 {
    font-weight: bold;
    color: #008cdd;
}

.debit-zone2 {
    font-weight: bold;
    color: #AD1616;
}

.outOfRange {
    color: #AD1616;
}

.unavailable {
    color: #C70B0B;
}

.addInfo {
    color: #006600;
    font-size: 8pt;
    font-style: italic;
    font-weight: normal;
}

.reghelp {
    display: block;
    color: #006600;
    text-align: left;
    font-size: 8pt;
    font-style: italic;
    font-weight: normal;
    margin: 0px 0px 10px 0px;
}

.infoBox {
    display: block;
    font-size: 8pt;
    padding: 8px 10px;
    margin-bottom: 5px;
    border: solid 1px #49616e;
}

    .infoBox.low {
        background-color: #cccccc;
        color: #3a3a3a;
        border-color: #3a3a3a;
    }

    .infoBox.normal {
        background-color: #b9e8ff;
        color: #2d4754;
        border-color: #2d4754;
    }

    .infoBox.high {
        background-color: #ffd1d1;
        color: #7f2727;
        border-color: #7f2727;
    }

/***************/
/* Formatovani */
/***************/
.bold {
    font-weight: bold;
}

.line-through {
    text-decoration: line-through;
}

.aleft {
    text-align: left;
}

.acenter {
    text-align: center;
}

.aright {
    text-align: right;
}

.atop {
    vertical-align: top;
}

.amiddle {
    vertical-align: middle;
}

.abottom {
    vertical-align: bottom;
}

.small {
    font-size: 8pt;
}

/***********/
/* Legenda */
/***********/

.legend {
    font-size: 8pt;
    border-collapse: collapse;
    border-width: 0px;
    margin: 5px 0px 0px 0px;
    padding: 2px 0px;
    vertical-align: middle;
}

    .legend .label {
        padding: 0px 0px 0px 0px;
        vertical-align: middle;
    }

        .legend .label img {
            border-width: 0px;
            vertical-align: middle;
            margin: 0px;
            padding: 0px;
        }

    .legend .value {
        padding: 0px 10px 0px 5px;
        vertical-align: middle;
    }

/***************/
/* Master page */
/***************/

#lay-backdrop {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.4);
}

#lay-border {
    width: 100%;
    padding: 0px;
    margin: 0px 0px 40px 0px;
    border-width: 0px;
}

#lay-header {
    display: flex;
    width: 100%;
    height: 95px;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
}

#lay-header-left {
    display: flex;
    flex-grow: 0;
    text-align: left;
    margin: 15px;
    padding: 0px;
}

#lay-header-title {
    display: flex;
    flex-grow: 1;
    align-items: center;
    color: #427dba;
    font-size: 20pt;
    font-weight: bold;
    justify-content: left;
    text-align: left;
    vertical-align: middle;
    margin: 0px;
    padding: 10px 15px 10px 15px;
}

#lay-header-right {
    display: flex;
    flex-grow: 0;
    text-align: right;
    vertical-align: middle;
    margin: 0px;
    margin-left: auto;
    padding: 0px 20px 0px 0px;
}

#lay-user-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #335489, #448afa);
    color: white;
    padding: 10px 20px;
    font-size: 0.85rem;
    border: none;
    min-height: 25px;
}

    #lay-user-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 25px;
    }

    #lay-user-nav li {
        color: white;
        font-size: 0.85rem;
        user-select: none;
        display: flex;
        align-items: center;
        gap: 8px;
        opacity: 0.9;
    }


    #lay-user-nav a {
        color: white;
        -webkit-text-decoration: inherit;
        text-decoration: inherit;
    }

        #lay-user-nav a:hover {
            -webkit-text-decoration: underline;
            text-decoration: underline;
        }

#lay-main-nav {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #335489 0%, #335489 30%, #448afa 100%);
    color: white;
    padding: 10px 40px;
    font-size: 0.85rem;
    border: none;
    margin-top: 10px;
    min-height: 25px;
}

    #lay-main-nav:not(:has(*)) {
        display: none;
    }

    #lay-main-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 25px;
    }

    #lay-main-nav li {
        color: white;
        user-select: none;
        font-size: 0.85rem;
        cursor: default;
        display: flex;
        align-items: center;
        gap: 8px;
        opacity: 0.9;
    }

        #lay-main-nav li span a {
            color: white;
            text-decoration: none;
            transition: text-shadow 0.1s ease;
        }

            #lay-main-nav li span a:hover {
                text-shadow: 0.5px 0 0 white, -0.5px 0 0 white;
            }

        #lay-main-nav li span.amount {
            display: block;
            font-size: 0.7rem;
            opacity: 0.9;
            text-shadow: none;
        }

            #lay-main-nav li span.amount:before {
                content: '(';
            }

            #lay-main-nav li span.amount:after {
                content: ')';
            }

#lay-toolbox {
    color: #ffffff;
    font-size: 10pt;
    width: 100%;
    height: 34px;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
    background-image: url('layout/tb-bkg.jpg');
    background-repeat: no-repeat;
    background-position: left center;
    background-color: #1177b2;
    white-space: nowrap;
}

#lay-toolbox-left {
    float: left;
    height: 34px;
    line-height: 34px;
    margin: 0px;
    padding: 0px 0px 0px 10px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

    #lay-toolbox-left a {
        color: #ffffff;
        text-decoration: none;
    }

        #lay-toolbox-left a:hover {
            text-decoration: underline;
        }

#lay-toolbox-right {
    float: right;
    height: 34px;
    line-height: 34px;
    margin: 0px;
    padding: 0px 10px 0px 0px;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

    #lay-toolbox-right a {
        color: #ffffff;
        text-decoration: none;
    }

        #lay-toolbox-right a:hover {
            text-decoration: underline;
        }

#lay-toolbox-shadow {
    width: 100%;
    height: 40px;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
    background-image: url('layout/tb-shadow.jpg');
    background-repeat: repeat-x;
    background-position: left top;
    background-color: Transparent;
}

#lay-workspace {
    margin: 10px 0px;
    padding: 0px 10px;
    text-align: justify;
}
/*************/
/* Aktuality */
/*************/

.news-box {
    font-size: 0.85rem;
    color: black;
    padding: 0px;
    background-color: #e9ecef;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 15px 10px 15px 10px;
}

    .news-box h1 {
        font-size: 1.5rem;
        font-weight: bold;
        text-transform: uppercase;
        margin: 0px 0px 10px 0px;
        background-image: linear-gradient(to right, #335489, #448afa);
        background-clip: text;
        color: transparent;
        width: fit-content;
    }

    .news-box h2 {
        font-size: 1.25rem;
        font-weight: bold;
        text-transform: uppercase;
        margin: 0px 0px 10px 0px;
        background-image: linear-gradient(to right, #335489, #448afa);
        background-clip: text;
        color: transparent;
        width: fit-content;
    }

    .news-box h3 {
        font-size: 1.1rem;
        font-weight: bold;
        text-transform: uppercase;
        margin: 0px 0px 10px 0px;
        background-image: linear-gradient(to right, #335489, #448afa);
        background-clip: text;
        color: transparent;
        width: fit-content;
    }

    .news-box h5 {
        font-size: 1.25rem;
        font-weight: 500;
        margin: 0px 0px 2px 0px;
    }

    .news-box p {
        margin: 0px 0px 0px 0px;
    }
/********************/
/* Reservation grid */
/********************/
#lay-tabs {
    white-space: nowrap;
    height: 30px;
    line-height: 30px;
}

    #lay-tabs .tab {
        display: inline-block;
        color: #ffffff;
        font-size: 10px;
        text-transform: uppercase;
        text-align: center;
        vertical-align: middle;
        border-width: 0px;
        border-bottom: 1px solid #ffffff;
        background-color: #3c5c9b;
        padding: 0px 7px;
        margin: 0px 1px 0px 0px;
        height: 29px;
        line-height: 29px;
        box-sizing: border-box;
        cursor: pointer;
        cursor: hand;
    }

    #lay-tabs .tab-sel {
        display: inline-block;
        color: #ffffff;
        font-size: 12px;
        text-transform: uppercase;
        text-align: center;
        vertical-align: middle;
        border-width: 0px;
        border-bottom: 1px solid #3c5c9b;
        background-color: #3c5c9b;
        padding: 0px 7px;
        margin: 0px 1px 0px 0px;
        height: 30px;
        line-height: 30px;
        box-sizing: border-box;
        cursor: pointer;
        cursor: hand;
    }

#lay-grid {
    width: 100%;
    /* min-width: 1000px; */
    padding: 0px;
    margin: 0px auto;
    background-color: #3c5c9b;
}

#lay-grid-head {
    height: 40px;
    line-height: 40px;
    margin: 0px;
    padding: 0px 10px;
    text-align: left;
    vertical-align: middle;
}

#lay-grid-body {
    margin: 0px;
    padding: 5px;
}

#lay-grid-workspace {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background-color: #ffffff;
    border: solid 1px #ffffff;
    overflow: auto;
}
/*****************/
/* Legenda gridu */
/*****************/

#lay-legend {
    font-size: 11px;
    margin: 10px 0px 10px 0px;
    padding: 0px;
}

    #lay-legend table {
        border-collapse: collapse;
        border-width: 0px;
    }

        #lay-legend table td {
            vertical-align: middle;
            line-height: 15px;
        }

        #lay-legend table .box {
            border-collapse: collapse;
            border: solid 1px #000000;
            width: 30px;
            height: 15px;
        }

        #lay-legend table .free {
            background-color: #7bf778;
        }

        #lay-legend table .free-alt {
            background-color: #bbbbff;
        }

        #lay-legend table .free-alt-has {
            background-image: url('layout/rg-pattern-vphatch.gif');
            background-position: left top;
            background-repeat: repeat;
            background-color: #8f8fff;
        }

        #lay-legend table .free-has {
            font-weight: bold;
            background-image: url('layout/rg-pattern-wghatch.gif');
            background-position: left top;
            background-repeat: repeat;
            background-color: #7bf778;
        }

        #lay-legend table .free-hasalt {
            font-weight: bold;
            background-image: url('layout/rg-pattern-wvhatch.gif');
            background-position: left top;
            background-repeat: repeat;
            background-color: #bbbbff;
        }

        #lay-legend table .none-has {
            background-color: #ff8686;
        }

        #lay-legend table .none-hasalt {
            background-color: #ffa1e0;
        }

        #lay-legend table .none {
            background-color: #909090;
        }

        #lay-legend table .separ {
            line-height: 3px;
            height: 3px;
            padding: 0px;
            margin: 0px;
        }

        #lay-legend table .label {
            font-weight: bold;
            padding: 0px 20px 0px 0px;
        }

        #lay-legend table .value {
            padding: 0px 0px 0px 15px;
        }
/****************/
/* Message line */
/****************/

#lay-messageline {
    margin: 0px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

    #lay-messageline .message {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        border-radius: 0.375rem;
        padding: 15px 20px;
        margin: 10px 10px;
        font-size: 1rem;
        line-height: 1.5;
        position: relative;
        text-align: left
    }

        #lay-messageline .message a {
            text-decoration: underline;
            font-weight: 500;
        }

        #lay-messageline .message a:hover {
            text-decoration: none;
            font-weight: 500;
        }

    #lay-messageline .info {
        background-color: rgb(207, 226, 255);
        color: rgb(8, 66, 152);
        border-color: rgb(182, 212, 254);
    }

        #lay-messageline .info a {
            color: rgb(8, 66, 152);
        }

    #lay-messageline .error {
        background-color: rgb(248, 215, 218);
        color: rgb(132, 32, 41);
        border-color: rgb(245, 194, 199);
    }

        #lay-messageline .error a {
            color: rgb(132, 32, 41);
        }

    #lay-messageline .warning {
        background-color: rgb(255, 243, 205);
        color: rgb(102, 77, 3);
        border-color: rgb(255, 236, 181);
    }

        #lay-messageline .warning a {
            color: rgb(102, 77, 3);
        }

    #lay-messageline .success {
        background-color: rgb(209, 231, 221);
        color: rgb(15, 81, 50);
        border: 1px solid rgb(186, 219, 204);
    }

        #lay-messageline .success a {
            color: rgb(15, 81, 50);
        }
/*********/
/* Login */
/*********/

#lay-login {
    position: absolute;
    right: 100px;
    top: 60px;
    width: 200px;
    height: 150px;
    border: solid 1px #ffffff;
    background-image: url('layout/box-bkg.jpg');
    background-repeat: repeat-x;
    background-position: left top;
    background-color: #a7d9f6;
}

.tbl-login {
    font-size: 0.85rem;
    height: auto;
    border-width: 0px;
    border-collapse: collapse;
}

    .tbl-login .label {
        padding: 0px 10px 0px 15px;
    }

    .tbl-login .value {
        padding: 0px;
    }

    .tbl-login .button {
        padding: 0px 0px 0px 10px;
    }
/**************/
/* Registrace */
/**************/

#lay-reg-result {
    font-size: 8pt;
    border-width: 0px;
    margin: 0px;
    padding: 0px;
    line-height: 19px;
}

    #lay-reg-result .tbl-error, #lay-reg-result .tbl-exists {
        border-collapse: collapse;
        border-width: 0px;
        width: 100%;
        margin: 30px 0px 0px 0px;
    }

        #lay-reg-result .tbl-error .lbl {
            color: #ff0000;
            font-weight: bold;
            text-align: center;
            padding: 20px 10px 0px 10px;
        }

        #lay-reg-result .tbl-error .msg, #lay-reg-result .tbl-exists .msg {
            color: #ff0000;
            font-weight: bold;
            text-align: center;
            padding: 20px 10px 0px 10px;
        }

        #lay-reg-result .tbl-error .con, #lay-reg-result .tbl-exists .qest {
            color: #0033cc;
            font-weight: bold;
            text-align: center;
            padding: 20px 10px 0px 10px;
        }

        #lay-reg-result .tbl-error .btn, #lay-reg-result .tbl-exists .btn {
            text-align: center;
            padding: 20px 10px 0px 10px;
        }
/************************/
/* Vyřizování požadavků */
/************************/

#lay-request {
    text-align: center;
    padding: 0px;
    margin: auto;
}

    #lay-request .image {
        width: 50px;
        height: 36px;
        vertical-align: middle;
        text-align: center;
        margin: auto;
        border-width: 0px;
    }

    #lay-request .message {
        line-height: 20px;
        vertical-align: middle;
        text-align: center;
        padding: 10px;
        margin: 10px 0px;
    }

    #lay-request .button {
    }
/**************************/
/* Výsledek online platby */
/**************************/

#lay-payment {
    text-align: center;
    padding: 0px;
    margin: auto;
}

    #lay-payment .image {
        width: 50px;
        height: 36px;
        vertical-align: middle;
        text-align: center;
        margin: auto;
        border-width: 0px;
    }

    #lay-payment .message {
        font-size: 12px;
        font-weight: bold;
        line-height: 20px;
        vertical-align: middle;
        text-align: center;
        margin-top: 10px;
    }

    #lay-payment .detail {
        font-size: 9px;
        font-weight: normal;
        line-height: 20px;
        vertical-align: middle;
        text-align: center;
    }

    #lay-payment .button {
        margin-top: 10px;
    }
/*****************************/
/* Provedení platby přes URL */
/*****************************/

#lay-pay {
    text-align: center;
    padding: 0px;
    margin: auto;
}

    #lay-pay .image {
        width: 50px;
        height: 36px;
        vertical-align: middle;
        text-align: center;
        margin: auto;
        border-width: 0px;
    }

    #lay-pay .message {
        font-size: 12px;
        font-weight: bold;
        line-height: 20px;
        vertical-align: middle;
        text-align: center;
        margin-top: 10px;
    }

    #lay-pay .detail {
        font-size: 9px;
        font-weight: normal;
        line-height: 20px;
        vertical-align: middle;
        text-align: center;
    }

    #lay-pay .button {
        margin-top: 10px;
    }
/**************************************/
/* Zadost o potvrzeni pro pojistovnnu */
/**************************************/

#lay-insurance {
    text-align: center;
    padding: 0px;
    margin: auto;
}

    #lay-insurance .image {
        width: 50px;
        height: 36px;
        vertical-align: middle;
        text-align: center;
        margin: auto;
        border-width: 0px;
    }

    #lay-insurance .message {
        font-size: 12px;
        font-weight: bold;
        line-height: 20px;
        vertical-align: middle;
        text-align: center;
        margin-top: 10px;
    }

    #lay-insurance .detail {
        font-size: 9px;
        font-weight: normal;
        line-height: 20px;
        vertical-align: middle;
        text-align: center;
    }

    #lay-insurance .button {
        margin-top: 10px;
    }
/******************************/
/* Tabulka v hlavicce vpravo  */
/******************************/
.tbl-rightheader {
    border-collapse: collapse;
    border-width: 0px;
}

    .tbl-rightheader tr {
        height: 50%;
    }

    .tbl-rightheader td {
        vertical-align: middle;
        padding: 0px 0px 0px 0px;
    }

    .tbl-rightheader .version {
        font-size: 0.7rem;
        opacity: 0.6;
        padding-right: 20px;
    }
/***********************/
/* Progress indicator  */
/***********************/

.tbl-progress {
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
}

    .tbl-progress .info {
        color: #0375b4;
        font-size: 8pt;
        padding: 0px 5px 0px 0px;
    }

    .tbl-progress .indicator {
    }
/*****************/
/* Customer info */
/*****************/

.tbl-customer {
    color: #ffffff;
    font-size: 8pt;
    height: 34px;
    border-width: 0px;
    border-collapse: collapse;
}

    .tbl-customer .label {
        font-weight: normal;
        padding: 0px 5px 0px 0px;
        margin: 0px;
    }

    .tbl-customer .value {
        font-weight: bold;
        padding: 0px;
        margin: 0px;
    }

    .tbl-customer .separ {
        padding: 0px 6px;
        margin: 0px;
    }
/***************************/
/* Reservation grid header */
/***************************/

.tbl-gridhead {
    color: #ffffff;
    font-size: 8pt;
    border: solid 0px #ffffff;
    border-collapse: collapse;
}

    .tbl-gridhead td {
        height: 40px;
        line-height: 45px;
        text-align: left;
        vertical-align: middle;
    }

    .tbl-gridhead .title {
        font-weight: bold;
        margin: 0px;
        padding: 0px 10px 0px 0px;
    }

    .tbl-gridhead .label {
        margin: 0px;
        padding: 0px 3px 0px 0px;
    }

    .tbl-gridhead .value {
        margin: 0px;
        padding: 0px 5px 0px 0px;
    }

    .tbl-gridhead .button {
        margin: 0px;
        padding: 0px 0px 0px 10px;
    }

    .tbl-gridhead .separ {
        margin: 0px;
        padding: 0px;
        width: 20px;
    }
/***********/
/* Submenu */
/***********/

.submenu {
    font-size: 11px;
    border-width: 0px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    text-align: right;
    margin: 0px;
    padding: 0px 10px 0px 10px;
    white-space: nowrap;
}

    .submenu a {
        color: #000000;
        text-decoration: none;
    }

        .submenu a:hover {
            text-decoration: underline;
        }


@media only screen and (max-width: 1024px) {
    body {
        font-size: 8pt;
    }

    #lay-toolbox {
        font-size: 8pt;
    }

    #lay-messageline {
        font-size: 8pt;
    }

    #lay-grid-head {
        height: 30px;
        line-height: 30px;
    }

    #lay-legend {
        font-size: 9px;
    }

    .tbl-customer {
        font-size: 7pt;
    }

    .tbl-gridhead {
        font-size: 7pt;
    }

        .tbl-gridhead td {
            height: 30px;
            line-height: 35px;
        }

    .submenu {
        font-size: 10px;
    }
}
