
body {
    padding-top: 40px;
    padding-bottom: 20px;
    font-family: 'Dutch801 Rm BT';
    font-size: 20px;
    background-image: url(f.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    width: 100%;
    height: 100vh;
}



.p {
    font-size: 50px;
    
}
.h1 {
    font-size: 70px;
}


.container {
    width: 100%;
    
    align-items: center;
}


footer {
    width: 100%;
    align-items: center;
    
}
.navbar-brand img {
    /*height: auto;
    max-height: 60px;
    display: inline-block;*/
    width: 50px; /* Фиксированная ширина */
    height: auto; /* Автоматическая высота для сохранения пропорций */
    position: fixed; /* Фиксированное позиционирование */
    top: 5px; /* Позиция сверху */
    left: 5px; /* Позиция слева */
}

.navbar {
    background-image: url('15.png');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    position: fixed;
    border-color: transparent;
 
    width: 100%; /* Убедитесь, что элемент занимает всю доступную ширину */
    top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}
/* Медиазапрос для мобильных устройств */
@media (max-width: 760px) {
    navbar {
        background-image: url('шапка тел 1.jpg'); /* Путь к изображению для мобильной версии */
        font-size: 16px; /* Опционально: уменьшите размер шрифта */
    }
}

.navbar-bth {
    font-size: 20px;
    line-height: 50px;
    padding: 0 15px;
    color: #000 !important;
    width: auto;
    height: 50px;
    text-align: center;
    display: inline-block;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;

}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 10px;
    padding-right: 10px;
    
}
.class {
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.7);
}
.classed {
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.7);
}
.adress {
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.5);
}
.col-md-4 {
    /* background-color:antiquewhite;*/


}
.fon {
   background-image: url('prisma.jpg');
}


.content {
    /* background-color: #d4b396;*/

    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.9);
}
.lead {
    
    background-color: rgba(255, 255, 255, 0);
}
.row {
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.5);
}
.col-md-4 {
    /*border: 1px solid #000000;*/
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.5);
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
.head {
    
}

.div {
    
}



.field-validation-error {
    color: #ffffff;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;

}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


.navbar .nav > li > a {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    margin: 0 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white; /* Белый цвет по умолчанию */
    margin-top: -10px;
}


/* Черный цвет для определенных ссылок */
/*.navbar .nav > li:nth-child(1) > a, /* Главная */
/*.navbar .nav > li:nth-child(7) > a, /* Обратная связь */
/*.navbar .nav > li:nth-child(8) > a , /* Обратная связь */
.navbar .nav > li:nth-child(1) > a { /* регистрация */ 
    color: black !important;
}
    
    .navbar .nav > li > a:hover,
    .navbar .nav > li > a:focus {
        color: #ff6a00; 
        background-color: transparent;
    }

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
    color: #ff6a00; 
    background-color: transparent; 
}

.nav navbar-nav {
    display: flex;
    align-items: center;
    background-color: #eeb487;
    color: #000000;
}
/* Медиа-запросы для адаптивного изменения размера текста */
@media screen and (max-width: 768px) {
    .navbar .nav > li > a {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .navbar .nav > li > a {
        font-size: 1.5rem;
    }
}
.navbar-nav > li > a {
    padding-top: 30px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    color: #000; 
}
.jumbotron {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #000;
}
.row {
    
}
.btn btn-default {
    
}


.h5 {
    color: #ff6a00;
}
.navbar-brand {
    padding: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    color: #000000;
   
}
.navbar-brand1 {
    padding: 0;
    padding-top: 20px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    color: #000000;
    font-size:27px;
    
}

.btn {
     display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #ff6a00;
    font-size: 1em;
}

   /* .btn:hover {
        text-decoration: underline;
    }*/
/*.btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 0 25px;
    margin: 0 15px 15px 0;
    outline: none;
    border: 1px solid #fff;
    border-radius: 50px;
    height: 46px;
    line-height: 46px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #444;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(65, 132, 144, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    user-select: none;
    appearance: none;
    touch-action: manipulation;
    vertical-align: top;
    transition: box-shadow 0.2s;
}*/

/* Стили для кнопки "Назад" */
.back-btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 0 25px;
    margin: 0 15px 15px 0;
    outline: none;
    border: 1px solid #ff6a00;
    border-radius: 50px;
    height: 46px;
    line-height: 46px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #ff6a00;
    background-color: transparent;
    box-shadow: none;
    cursor: pointer;
    user-select: none;
    appearance: none;
    touch-action: manipulation;
    vertical-align: top;
    transition: box-shadow 0.2s;
}

    .back-btn:hover {
        text-decoration: underline;
        background-color: transparent;
        box-shadow: none;
    }

.btn:hover {
    transition: all 0.2s;
    box-shadow: 0 7px 14px rgba(65, 132, 144, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn:active {
    background-color: #808080;
}

.btn:disabled {
    background-color: #eee;
    border-color: #eee;
    color: #444;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #4c51f9;
    color: #fff;
    border-color: #4c51f9;
}

    .btn-primary:hover {
        background-color: #3a3fdd;
        border-color: #3a3fdd;
    }



/*.calendar {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#eeb487;
    color: #fff;
    padding: 20px;
    font-size: 2em;
}

    .calendar-header button {
        background-color: transparent;
        border: none;
        color: #fff;
        font-size: 1.5em;
        cursor: pointer;
    }

        .calendar-header button:hover {
            background-color: #555;
        }

.calendar-body {
    display: flex;
    flex-direction: column;
}

.calendar-weekdays,
.calendar-days {
    display: flex;
    flex-wrap: wrap;
}

    .calendar-weekdays div,
    .calendar-days div {
        width: calc(100% / 7);
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
        font-size: 1.2em;
    }

    .calendar-weekdays div {
        background-color: #f8f9fa;
        font-weight: bold;
    }

    .calendar-days div {
        background-color: #fff;
        border: 1px solid #ddd;
        height: 100px;
        line-height: 100px;
        position: relative;
    }

        .calendar-days div.today {
           
            color: #ff6a00;
        }

        .calendar-days div.event {
          
            color: #ff6a00;
            cursor: pointer;
        }*/
.calendar {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eeb487;
    color: #fff;
    padding: 20px;
    font-size: 1.5em;
}

    .calendar-header button {
        background-color: transparent;
        border: none;
        color: #fff;
        font-size: 1.5em;
        cursor: pointer;
        padding: 5px 15px;
    }

        .calendar-header button:hover {
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
        }

.calendar-body {
    display: flex;
    flex-direction: column;
}

.calendar-weekdays,
.calendar-days {
    display: flex;
    flex-wrap: wrap;
}

    .calendar-weekdays div,
    .calendar-days div {
        width: calc(100% / 7);
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
        font-size: 1em;
    }

    .calendar-weekdays div {
        background-color: #f8f9fa;
        font-weight: bold;
        padding: 15px;
    }

    .calendar-days div {
        background-color: #fff;
        border: 1px solid #ddd;
        height: 100px;
        line-height: 20px;
        padding: 10px 5px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

        /* Сегодняшний день */
        .calendar-days div.today {
            background-color: #e6f7ff;
            color: #ff6a00;
            font-weight: bold;
        }

        /* День с мероприятием */
        .calendar-days div.has-event {
            background-color: #fff2e6;
            color: #ff6a00;
            font-weight: bold;
            cursor: pointer;
        }

            /* Подсветка при наведении на день с мероприятием */
            .calendar-days div.has-event:hover {
                background-color: #ffd9b3;
            }

            /* Отображение названия мероприятия */
            .calendar-days div.has-event::after {
                content: attr(data-event-title);
                font-size: 0.8em;
                color: #ff6a00;
                margin-top: 5px;
                text-align: center;
                width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

.event-details {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 80%;
    max-width: 600px;
}

    .event-details h3 {
        margin-top: 0;
        font-size: 1.5em;
        color: #333;
    }

    .event-details p {
        margin: 10px 0;
        font-size: 1em;
        color: #555;
    }

.register-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}

    .register-btn:hover {
        background-color: #0056b3;
    }
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    form label {
        margin-bottom: 10px;
        font-size: 16px;
    }

    form input[type="text"], form select, form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
    }

    form input[type="submit"] {
        background-color: #007bff;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        margin-top: 20px;
    }

        form input[type="submit"]:hover {
            background-color: #0056b3;
        }

.table-container {
    margin-top: 20px;
    width: 100%;
}

    .table-container h2 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 20px;
    }

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    table th, table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    table th {
        background-color: #eeb487;
    }
/* Общие стили для формы */
.custom-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: rgba(237, 196, 174, 0.8);
    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    /* Стили для групп формы */
    .custom-form .form-group {
        margin-bottom: 15px;
    }

    /* Стили для меток */
    .custom-form .form-label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        color: #333;
    }

    /* Стили для полей ввода */
    .custom-form input[type="text"],
    .custom-form input[type="email"],
    .custom-form input[type="password"],
    .custom-form textarea,
    .custom-form select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
        font-size: 16px;
    }

    /* Стили для кнопки отправки */
    .custom-form .btn-primary {
        display: inline-block;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        background-color: #ffffff;
        color: #000;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .custom-form .btn-primary:hover {
            color: #ff6a00;
        }

    /* Стили для выравнивания полей по одной ширине */
    .custom-form .form-group input,
    .custom-form .form-group textarea,
    .custom-form .form-group select {
        width: 100%;
        box-sizing: border-box;
    }

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.8);
}

.login-box {
    width: 300px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .login-box h2 {
        margin-bottom: 20px;
        font-size: 1.5em;
    }

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    text-align: left;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-size: 0.9em;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1em;
        box-sizing: border-box;
    }

.login-button {
    background-color: white;
    color: black;
    padding: 10px 20px;
    border: 2px solid #ccc;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: normal;
    margin-top: 10px;
    transition: background-color 0.3s, border-color 0.3s;
}

    .login-button:hover {
        background-color: #f0f0f0;
        border-color: #aaa;
    }

.validation-summary-errors {
    color: red;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Стили для выпадающего меню */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #007bff;
}

/* Таймер */
#countdown {
    /*font-size: 24px;*/
    color: #000;
    font-weight: bold;
    margin: 10px 0;
    font-family: Arial;
    display: flex;
    gap: 8px;
   
}
    /* Стили для единиц измерения (ч, м, с) */
    #countdown div {
        display: flex;
        align-items: center;
        gap: 2px; /* Расстояние между числом и единицей */
       
    }

        /* Цвет и размер единиц измерения */
        #countdown div::after {
            color:#000;
            font-size: 18px;
            font-weight: normal;
        }

/* Стили для мобильной версии */
@media (max-width: 767px) {
    #countdown,
    #countdown div,
    #countdown span {
        font-size: 16px !important;
    }

    h3 {
        font-size: 16px !important;
    }
}
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
}
.custom-alert {
    background-color: white !important;
    color: #d35400 !important;
    border: 1px solid #d35400 !important;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    margin: 1rem auto;
    text-align: center;
}