﻿.table-primary,
.table-primary > th,
.table-primary > td {
    background-color: #c5cdc4;
}

.table-hover .table-primary:hover {
    background-color: #b7c1b6;
}

    .table-hover .table-primary:hover > td,
    .table-hover .table-primary:hover > th {
        background-color: #b7c1b6;
    }

/*
    Prostridani barev u radku delanych pomoci row v gridu - nefunguje FUCK!
*/
/*.grid-striped .row:nth-of-type(odd) {
    background-color: rgba(0,0,0,.1) !important;
}*/

/*
    Ostylovani policek v prihlasovanich formularich (email, kod uchazece)
*/
.input-group-text {
    /*background-color: #d6dbd5;*/
    background-color: #314d2d;
    border: #314d2d;
    color: white;
}

.input-group-addon {
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    color: #314d2d;
    text-align: center;
    background-color: #d6dbd5;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}


.btn-xs, .btn-group-xs > .btn {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-primary {
    color: #fff;
    background-color: #314d2d;
    border-color: #314d2d;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #22351f;
        border-color: #1d2d1a;
    }

    .btn-primary:focus, .btn-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(49, 77, 45, 0.5);
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #314d2d;
        border-color: #314d2d;
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #1d2d1a;
        border-color: #172515;
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(49, 77, 45, 0.5);
        }


.btn-outline-primary {
    color: #314d2d;
    background-color: transparent;
    background-image: none;
    border-color: #314d2d;
}

    .btn-outline-primary:hover {
        color: #fff;
        background-color: #314d2d;
        border-color: #314d2d;
    }

    .btn-outline-primary:focus, .btn-outline-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(49, 77, 45, 0.5);
    }

    .btn-outline-primary.disabled, .btn-outline-primary:disabled {
        color: #314d2d;
        background-color: transparent;
    }

    .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
    .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: #314d2d;
        border-color: #314d2d;
    }

        .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(49, 77, 45, 0.5);
        }


.badge-primary {
    color: #fff;
    background-color: #314d2d;
}

    .badge-primary[href]:hover, .badge-primary[href]:focus {
        color: #fff;
        text-decoration: none;
        background-color: #1d2d1a;
    }


.alert-primary {
    color: #192817;
    background-color: #d6dbd5;
    border-color: #c5cdc4;
}

    .alert-primary hr {
        border-top-color: #b7c1b6;
    }

    .alert-primary .alert-link {
        color: #050804;
    }


.list-group-item-primary {
    color: #192817;
    background-color: #c5cdc4;
}

    .list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
        color: #192817;
        background-color: #b7c1b6;
    }

    .list-group-item-primary.list-group-item-action.active {
        color: #fff;
        background-color: #192817;
        border-color: #192817;
    }


.bg-primary {
    background-color: #314d2d !important;
}

a.bg-primary:hover, a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
    background-color: #1d2d1a !important;
}


.border-primary {
    border-color: #314d2d !important;
}


.text-primary {
    color: #314d2d !important;
}

a.text-primary:hover, a.text-primary:focus {
    color: #1d2d1a !important;
}


.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem !important;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}


/*.fixed-top {
    position: fixed;
    top: 0;
    right: auto;
    left: auto;
    z-index: 1030;
}*/


/*
    ostylovani zasraneho checkboxu
*/
/*.custom-control-label::before,
.custom-control-label::after {
    top: -1.8rem;
    width: 1.5rem;
    height: 1.5rem;
}*/

/*
    vycentrovani textu, pouzito v tabulkach.
*/
.centered {
    text-align: center;
}

/*
    Trida pro header v jumbotronu (bila zarovnana vpravo)
*/
.jumboh {
    text-align: right;
    color: white !important;
    font-weight: bold;
}

/*
    natvrdo prepsane tridy pro zalozky (taby)
*/
ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    background-color: #314d2d !important;
    border: 1px solid #314d2d !important;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: white !important;
    text-decoration: none !important;
}

/*
    trida pro oznaceni povinne polozky - tucne a s hvezdickou na konci
*/
.required {
    font-weight: bold;
}

    .required:after {
        content: " (*)";
    }

/*
    trida pro oznaceni vysvetlivek - tucne a s hvezdickama na konci
*/
.vysvetlivkyStar1 {
    font-weight: bold;
}

    .vysvetlivkyStar1:after {
        content: " *";
    }

.vysvetlivkyStar2 {
    font-weight: bold;
}

    .vysvetlivkyStar2:after {
        content: " **";
    }

.vysvetlivkyStar3 {
    font-weight: bold;
}

    .vysvetlivkyStar3:after {
        content: " ***";
    }

/*
    tridy pro zvyrazneni chybneho policka pri validaci
*/
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
    /*color: #a94442 !important;*/
    color: red !important;
}

.has-error .form-control {
    /*border-color: #a94442 !important;*/
    border-color: red !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.bg-militaryLight {
    background-color: #EDFFF1 !important;
}

.bg-civilLight {
    background-color: #fff9e6 !important;
}


/*.alert {
    font-size: 1.3em;
    padding: 1em;
    text-align: center;
    white-space: nowrap;
    width: auto;
    word-wrap: normal;
    z-index: 1100 !important;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}*/



@media (min-width: 1200px) {
    .container {
        max-width: 1600px; /* upraveno z 1140px na 1600px */
    }
}

.imgLogoSize {
    width: 100%;
    height: 100%;
}

.o-25 {
    opacity: 0.25;
}

.o-50 {
    opacity:0.5;
}

.o-75 {
    opacity: 0.75;
}

.bg-success-50 {
    background-color: rgba(25, 135, 84, 0.5); /* 0.5 = 50 % */
}


.stepper {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin:  2rem 0rem 5rem 0;
    position: relative;
}

.stepper::before {
    content: "";
    position: absolute;
    top: 18px; /* zarovnání linky se středem koleček */
    left: 0;
    width: 100%;
    height: 2px;
    background: #dee2e6; /* šedá linka v pozadí */
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    font-weight: bold;
}

.step-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Stav hotový */
.step.completed .step-number {
    background: #1a4d98;
    color: #fff;
}

/* Stav aktivní */
.step.active .step-number {
    background: #365b30;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.25);
}



/* Timeline řádky roztahují sloupce na výšku karty */
.timeline-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    position: relative;
}

/* Sloupec s tečkou a svislými čarami */
.timeline-dot-col {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Svislé čáry */
.timeline-line-vertical {
    border-left: 1px solid #6c757d;
    flex-grow: 1;
    width: 1px;
}

/* Tečka */
.timeline-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 1px solid #ffffff;
    position: relative;
    z-index: 2;
}

/* Vodorovná čára */
.timeline-line-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
    z-index: 1;
}

    .timeline-line-horizontal .line-left {
        flex-grow: 1;
        border-top: 1px solid #6c757d;
    }

    .timeline-line-horizontal .line-space {
        flex-shrink: 0;
        width: calc(50% + 0.375rem);
    }