﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #7E9771;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    margin-top: 92px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #7E9771;
}

.btn-primary {
    color: #fff;
    background-color: #7E9771;
    border-color: #728966;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #7E9771;
    border-color: #617557;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 25px;
    background: white;
}

footer .container {
    text-align: center;
}

:root {
    --primary-color: #007bff; /* Modr� */
    --secondary-color: #6c757d; /* �ed� */
    --accent-color: #ffc107; /* �lut� */
}

/* Pou�it� barev */
.element1 {
    color: var(--primary-color);
}

.form-control:disabled, .form-control[readonly] {
    background-color: #ffffff;
}

.currency-addon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d; /* Barva textu */
}

.centered-text {
    text-align: center;
}

.buttons-container {
    text-align: center;
}



.extended-hr {
    border: none;
    height: 1px; /* V�choz� v��ka ��ry */
    background-color: #000; /* Barva ��ry */
    margin: 20px auto; /* Vzd�lenost od okraje a zarovn�n� na st�ed */
    width: 50px; /* ���ka ��ry na za��tku */
    animation: extend-hr 0.5s forwards; /* Pou�it� animace */
}

@keyframes extend-hr {
    100% {
        width: 100%; /* ��ra dos�hne pln� ���ky */
    }
}

.btn-width {
    width: 100px; /* Zde nastavte po�adovanou ���ku v pixelech */
    margin-inline: 2px;
}

.btn {
    border-radius: 25px
}

span#switchLabel {
    margin-left: 5px;
}

label.form-check-label {
    margin-left: 5px;
}

input#switchButton:not([disabled]) {
    margin-left: auto;
}

.index-table .form-check .form-check-input {
    float: none; /* Vypne float pouze uvnit� index-table */
}

.index-table th,
.index-table td {
    text-align: center;
    padding: 5px;
}

span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.select-2 {
    position: relative; /* Zaji��uje relativn� pozicionov�n� pro absolutn� pozicionov�n� potomka */
}

.up-label {
    position: absolute;
    top: -6px;
    left: 30px;
    background: #ffffff;
    padding-inline: 5px;
    margin: 0px;
    padding-bottom: 0px;
    font-size: 14px;
    line-height: 12px;
}

.form-check.payment-check {
    margin-left: 30%;
}
@media (max-width: 1000px) {
    .form-check.payment-check {
        margin-left: 15%;
    }
}

.row-spacing dt,
.row-spacing dd {
    margin-bottom: 7px;
}

.alert {
    position: fixed;
    top: 76px; /* P�izp�sobte hodnotu v��ky hlavi�ky */
    padding-bottom: 10px;
    padding-top: 10px;
    z-index: 999;
}

.navbar {
    z-index: 2000;
}

.lesson-type {
    padding-left: 20px
}

.date-range .form-notch-middle {
    width: 95.2px !important;
}

#total-price {
    font-weight: bold;
}

#lesson-count {
    font-weight: bold;
}

.day-of-week {
    /* Nastaven� styl� pro kruh s dnem v t�dnu */
    display: inline-block;
    width: 25px; /* Pr�m�r kruhu */
    height: 25px; /* Pr�m�r kruhu */
    background-color: #7E9771; /* Zelen� s pr�hlednost� */
    color: white; /* B�l� text */
    text-align: center; /* Zarovn�n� textu na st�ed */
    line-height: 25px; /* Zarovn�n� textu na st�ed vertik�ln� */
    border-radius: 50%; /* Vytvo�en� kruhu */
    font-weight: bold; /* Tu�n� text */
    font-size: 0.75rem; /* Velikost textu */
    margin-right: 3px
}

td.cancel-button {
    vertical-align: middle;
}

.paid-switch {
    width: 2.5em !important;
    height: 1.25em !important;
}

    .paid-switch:checked {
        background-color: #7E9771;
        border-color: #7E9771;
    }

.paid-switch {
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-input:checked {
    background-color: #7E9771;
    border-color: #7E9771;
}

.form-check-input:focus {
    border-color: #7E9771;
}

.btn-check:focus + .btn-primary, .btn-primary:focus {
    background-color: #728966;
    border-color: #728966;
    box-shadow: 0 0 0 .25rem rgb(125 144 103 / 38%);
}

.btn-primary:hover {
    background-color: #728966;
    border-color: #728966;
}

.btn-primary {
    text-transform: uppercase;
}

.btn-danger {
    text-transform: uppercase;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #7E9771;
    font-weight: bold;
    background-color: #fff;
    border-color: #7E9771 #7E9771 #fff;
    text-decoration: none;
}

.nav-link {
    color: #555 !important;
}

.nav-tabs {
    border-bottom: 1px solid #7E9771;
}

.nav-link:focus, .nav-link:hover {
    color: #7E9771;
}

h1 {
    color: #7E9771;
    text-transform: uppercase;
}

table {
    color: #555 !important;
}

#lesson-count, #total-price {
    color: #555
}

.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: rgb(126 151 113 / 23%);
}


.logo {
    height: 75px;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1320px;
}


@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav {
        flex-direction: row;
        justify-content: end;
    }

    .nav-link.active, .nav-link:hover {
        border-bottom: 2px solid #7E9771;
    }

    .nav-link {
        border-bottom: 2px solid transparent;
    }
}

nav ul li {
    padding: 0 25px;
    margin: 0 5px;
}

nav ul a {
    text-decoration: none;
    text-transform: uppercase;
}

.navbar-expand-sm .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
}

li.nav-item {
    font-weight: bold;
}

.nav-link {
    transition: none;
    padding-bottom: 2px;
}

.service-name {
    padding-inline: 10px;
}

.signin-button {
    display: flex;
    justify-content: center
}

.rememberme-button {
    display: flex;
    justify-content: center
}

.hidden {
    display: none;
}


.home-datetime {
    color: #555;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #7E9771;
    border-color: #7E9771;
}

.lesson-switch {
    background-color: rgba(202, 33, 33, 0.75);
}

.client-switch {
    background-color: rgba(202, 33, 33, 0.75);
}

.btn-home {
    width: 300px;
    height: 70px;
    font-size: 25px;
    padding: 15px;
    border-radius: 35px;
}

@media (max-width: 780px) {
    footer {
        display: none;
    }
}

.navbar-collapse {
    text-align: center;
}

.nav-link {
    padding: .5rem .8rem;
}

.table {
    white-space: nowrap
}

a:hover {
    color: #637859;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInTime {
    from {
        opacity: 0;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-datetime {
    animation: fadeInTime 0.5s ease-in-out;
}

.btn-home-1 {
    animation: fadeIn 0.3s ease-in-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}
.btn-home-2 {
    animation: fadeIn 0.3s ease-in-out;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}
.btn-home-3 {
    animation: fadeIn 0.3s ease-in-out;
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.client-switch-edit {
    padding-left: 0;
}
    
