﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;   
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 300px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

/*.form-group.required .control-label:after {
    content: "*";
    color: red;
}*/

.required-label:after {
    content: "*";
    color: red;
}

.karta {
    padding: 6px;
    margin-top: 8px;
    margin-bottom: 0px;
    border: 1px solid transparent;
    border-radius: 6px 6px 0px 0px;
    color: #182d38;
    background-color: #d9edf7;
    border-color: #bce8f1;
    font-size: 1.1em;
}
.karta-telo {
    padding: 8px;
    margin-top: 0px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    color: #191818;
    background-color: #fff;
    border-color: #d0dade;
    font-size: 1em;
}
.karta-kapitola {
    padding: 2px;
    margin-top: 1px;
    margin-bottom: 0px;
    border: 1px solid transparent;
    border-radius: 6px 6px 0px 0px;
    color: #676666;
    background-color: #fdffe1;
    border-color: #eef595;
    font-size: 0.9em;
    text-align: right;
}
.karta-kapitola-telo {
    padding: 8px;
    margin-top: 0px;
    margin-bottom: 1px;
    border: 1px solid transparent;
    color: #182d38;
    background-color: #fafafa;
    border-color: #e7e8e9;
    font-size: 1em;
}
.bg-pojistovna {
    background-color: #f6f0cc;
    color: #182d38;
}
.badge-transp {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    /*color: #fff;*/
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    /*background-color: #777777;*/
    border-radius: 10px;
}

.box-zprava {
    padding: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    border: 1px solid transparent;
    border-radius: 6px 6px 6px 6px;
    color: #182d38;
    background-color: #f1f2e5;
    border-color: #676666;
    font-size: 1em;
    text-align: left;
    vertical-align: text-top;
}

.box-info {
    padding: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    border: 1px solid transparent;
    border-radius: 6px 6px 6px 6px;
    color: #182d38;
    background-color: #faf9f9;
    border-color: #d9edf7;
    font-size: 1em;
    text-align: left;
    vertical-align: text-top;
}

div:empty {
    display: none;
}

.MyDisabledBackground {
    position: fixed;
    z-index: 400;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: Gray;
    filter: alpha(opacity=50);
    opacity: 0.7;
}

.btn-akce {
    color: #191818;
    background-color: #efe7a6;
    border-color: #e4d450;
}

.modal-panel {
    position: absolute;
    z-index: 2000;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    align-content: center;
    /*display: none;*/
    /*overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;    */
}
.panel-wrap {
    word-wrap: anywhere;
}

/* Responsive form-group: label and value on one line if space allows - doplněno přes GPT4.1 */
#detailModal .form-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

    #detailModal .form-group label {
        min-width: 100px;
        margin-bottom: 0;
        margin-right: 1rem;
        font-weight: 600;
        flex-shrink: 0;
    }

    #detailModal .form-group .form-control-static,
    #detailModal .form-group pre {
        flex: 1 1 0;
        margin-bottom: 0;
        word-break: break-word;
    }

@media (max-width: 300px) {
    #detailModal .form-group {
        flex-direction: column;
        align-items: stretch;
    }

        #detailModal .form-group label {
            margin-right: 0;
            margin-bottom: 0.25rem;
        }
}


@media only screen and (max-width: 767px) {
    body, p, span, td, th, label, .input-field, .form-row, .labeltype1 {
        font-weight: 600 !important;
        font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
        /*font-size: 1.2em !important;*/ /* Zvýšení velikosti písma o cca 10% */
    }
}
/* rozšíření okna pro editaci zprávy přes celý display :*/
/*@media (max-width: 767.98px) {
    #editModal .modal-dialog {
        max-width: 100vw;
        width: 100vw;
        height: 100vh;
        margin: 0;
        padding: 0;
    }

    #editModal .modal-content {
        height: 100vh;
        border-radius: 0;
    }

    #editModal .modal-body {
        height: calc(100vh - 120px);*/ /* Adjust if header/footer size changes */
        /*padding: 8px;
        overflow: auto;
    }

    #MainContent_TextBox1 {
        width: 100% !important;
        height: 100% !important;
        min-height: 200px;
        box-sizing: border-box;
        font-size: 1.1em;
        resize: vertical;
    }
}*/
