:root {
    --main-color: #6a1b9a;
    --main-color-hover: #930ed2;
    --accent-color: #b41b86;
    --attent-color: #ffa1a1;
    --attent-dark-color: #ff8282;
    --light-bg: #f8f9fa;
    --background-color: #f7f7f7;
    --text-dark: #2d3436;
    --text-light: #6c757d;
	--text-info: #3498db;
    --text-disable: #b6b6b6;
    --link-color: #2d3436;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --transition: all 0.3s;
    --border-radius: 5px;
    --primary-color: #2A5C8D; /* Основной брендовый цвет (доверие, стабильность) */
    --hover-primary-color: #effaff;
    --light-border-color: #CFD8DC;
    --table-primary-color: #2c3e50;
    --table-secondary-color: #3498db;
    --table-success-color: #27ae60;
    --table-warning-color: #f1c40f;
    --table-danger-color: #e74c3c;
    --table-background-color: #f8f9fa;
    --table-text-color: #2c3e50;
    --table-border-color: #afafaf;
    --dynamic-orange: #FF6B35;  /* Акцентный цвет (энергия, действие) */
    --success-green: #4CAF50;   /* Успех, подтверждение */
    --success-light: #caffe3;
    --alert-red: #E53935;       /*Ошибки/предупреждения*/
    --neutral-gray: #607D8B;    /* Нейтральные элементы */
    --sport-teal: #26A69A;      /* Для спортивных секций */
    --judge-purple: #6A1B9A;    /* Для судейского модуля */
    --energy-yellow: #FFD600;   /* Выделение важных элементов */
    --light-blue: #81D4FA;      /* Фоновые элементы */
    --background: #F5F7FA;      /* Основной фон */
    --surface-white: #FFFFFF;   /* Поверхности/карточки */
    --text-primary: #263238;    /*Основной текст*/
    --text-secondary: #78909C;  /*Второстепенный текст*/
    --dividers: #CFD8DC;        /*Разделители*/
    --rating-gold: #FFC107;     /*Золотые оценки*/
    --rating-silver: #B0BEC5;   /*Серебряные оценки*/
    --rating-bronze: #8D6E63;   /*Бронзовые оценки*/
    --progress-bar: #00BCD4;    /*Индикаторы прогресса*/
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, #1E3A5F 100%);
    --sport-gradient: linear-gradient(45deg, var(--sport-teal) 0%, #00796B 100%);
    --judge-gradient: linear-gradient(45deg, var(--judge-purple) 0%, #4A148C 100%);

}

html{
    /*padding: 0 calc(20px - (100vw - 100%)) 0 0;*/
	padding: 0;

}

body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, sans-serif;
    color: var(--text-dark);
    background: var(--background-color);
    line-height: 1.6;


}

/* Навбар */
.navbar {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    /*padding: 0.75rem 0;*/
    padding: 10px calc(20px - (100vw - 100%)) 10px 10px;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--main-color) !important;
    font-size: 1.25rem;
    padding: 0;
}

/* Сайдбар */
.sidebar {
    background: rgba(255,255,255,0.98);
    box-shadow: 4px 0 15px rgba(0,0,0,0.03);
    border-radius: 12px;
    padding: 1.5rem;
}

.sidebar-content h6 {
    color: var(--main-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.sidebar-content .fw-bold {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.sidebar-content a {
    color: var(--text-dark);

    /*padding: 0.5rem 0;*/
}

.sidebar-content a:hover {
    color: var(--main-color);
}

.sub-text{
    position: relative;
    top: -10px;
}
.dash-contacts{
	display: block;
    font-size: 0.85rem;
    margin-top: 4px;
	color: var(--text-info);
}
.gradient-custom-2 {
    /* fallback for old browsers */
    background: #fc9090;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
}

.gradient-button-2 {
    /* fallback for old browsers */
    background: #fc9090;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
}

.gradient-button-2:hover{
    /* fallback for old browsers */
    background: #fc9090;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #b65c1c, #962527, #91224c, #992b78);

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #b65c1c, #962527, #91224c, #992b78);
}
.competition-card {
    transition: all 0.4s ease;
    opacity: 1;
    /*transform: scaleY(1);*/
}

.competition-card.hidden {
    opacity: 0;
    /*transform: scaleY(0.9);*/
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.filter-btn.active {
    background: var(--main-color) !important;
    color: white !important;
}
.no-results {
    display: none;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}
/* Карточки */
.card-horizontal-event {
    border: none;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.map-container {
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    height: 250px;
}


.card-img-left {
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
    /*border-radius: 12px;
    margin-right: 1.5rem;*/
}

.events-img {
    width: 200px;
    object-fit: cover;
    border-radius: 20px;
    /* padding: 8px; */
    margin-right: 20px;

}
.card-list-item{
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    flex-direction: row;
    box-shadow: var(--shadow-sm);
    padding: 20px;
}
.event-list-name{
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 20px;
    font-weight: 500;
}
.event-list-name:hover{
    color: var(--main-color);
}

/* Кнопки */
.btn-apply {
    background: linear-gradient(45deg, var(--main-color), var(--accent-color));
    border: none;
    color: white !important;
    padding: 0.35rem 1.5rem;
    /*
    border-radius: 12px !important;
    transition: var(--transition);*/
}

.btn-apply:hover {
    opacity: 0.9;
    /*transform: translateY(-2px);*/
}
.btn-list-apply{
    background: #FFFFFF;
    border: 1px solid var(--main-color);
    transition: none;
    padding: 0.35rem 1.5rem;

}
.btn-list-apply:hover{
    background: linear-gradient(45deg, var(--main-color), var(--accent-color));
    color: #FFFFFF !important;
}
.nav-link:hover{
    color: var(--main-color) !important;
}
.nav-link-dropdown{
    padding-right: 0 !important;
}
.nav-link-drop-btn{
    background: none;
    padding-right: 5px;
    padding-left: 5px;
    border: none;
    margin-right: 5px;
    margin-top: 3px;
}
.nav-link-drop-btn:hover{
    color: var(--main-color);
}
.nav-link-drop-btn2:after{
    display: inline-block;
    #margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
.form-check-label{
    cursor: pointer;
}
    /* Текстовые элементы */
.custom-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;

    margin-bottom: 1rem;
    display: block;
}
.event_description{
    /*padding: 0 20px;*/
}
.grade_label {
    background: rgba(106,27,154,0.1);
    color: var(--main-color);
    border-radius: 8px;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    font-size: 14px;
}

.event_icon{
    color: var(--main-color);
    margin-right: 8px;
    width: 20px;
    text-align: center;
}
.activity-list-img{
    width: 200px;
}
.main-color{
    color: var(--main-color);
}
.small-link{
    text-decoration: none;
    color: var(--link-color);
}
.test-info{
    margin-bottom: 21px;
    font-size: 12px;
    left: -50px;
    display: block;
    position: relative;
    color: #9d1b1b;
}
.event-list-edit-btn{
    color: var(--main-color);
    margin-right: 10px;
}
.event-list-edit-btn:hover{
    color: var(--main-color-hover);
}
/* Документы */
.doc_download {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.doc_download:hover {
    background: rgba(106,27,154,0.05);
    color: var(--main-color);
}
.activity-edit-doc{
    display: block;
    background: #ffffff;
    position: relative;
    margin-bottom: 10px;
    padding: 0.5rem;
    border-radius: 8px;
}
.badge-status {
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 20px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.reginfo{
    /*width: 250px;*/
}
.event-list-top{
    margin-bottom: 10px;
    padding-bottom: 2px;
    border-bottom: 1px solid #cccccc;
    font-size: 0.85rem;
}

/* Таблицы */
.table-container{

}
.table-wrapper {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    /*border-bottom: 3px solid var(--table-primary-color);*/
}
.activity-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--table-primary-color);
    padding-bottom: 5px;
}
.activity-left-info{
	margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--primary-color);
}
table.print-table{
	width: 100%;
	max-width: 100%;
	border: 0;
	background: #ffffff;
	color: #000000;
}
table.print-table thead {
    background: #ffffff;
    color: #000000;
}
table.print-table th{
	border: 1px solid #000000 !important;
	vertical-align: middle;
	font-weight: normal;
	background: none !important;
}
table.print-table th:not(:last-child)::after {
    content: none;
}
table.print-table td{
	border: 1px solid #000000 !important;
	vertical-align: middle;
}
table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

table thead {
    background: linear-gradient(135deg, var(--table-primary-color), #3b6288);
    color: white;
}

th {
    padding: 0.5rem 0.2rem;
    font-weight: 400;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
}

th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}

th.sortable {
    cursor: pointer;
}

th.sortable:hover {
    background: rgba(255,255,255,0.1);
}

td {
    padding: 0.5rem 0.2rem;
    /*border-bottom: 1px solid var(--table-border-color);*/
	border: 1px solid var(--table-border-color);
    position: relative;
    text-align: center;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: #f8f9ff;
}

.status-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px 0 0 2px;
}

.status_1 .status-indicator {
    background: var(--table-success-color);
}

.status.paused .status-indicator {
    background: var(--table-warning-color);
}

.status_2 .status-indicator {
    background: var(--table-danger-color);
}

.status-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* padding: 0.5rem 1rem; */
    /* border-radius: 20px; */
    /* background: rgba(0, 0, 0, 0.05); */
    font-size: 0.9rem;
}

.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.junior-3 { background: #e8f5e9; color: #2e7d32; }
.badge.junior-2 { background: #f0f4c3; color: #9e9d24; }
.badge.junior-1 { background: #ffecb3; color: #ef6c00; }

.coach-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* padding: 0.5rem 1rem; */
    /* background: #e3f2fd; */
    /* border-radius: 20px; */
    color: var(--primary-color);
	text-decoration: none;
}
.coach-tag:hover{
	color: var(--main-color);
	text-decoration: underline;
}

.actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.action-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    color: var(--table-text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: var(--table-secondary-color);
    color: white;
    transform: scale(1.1);
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
	background: linear-gradient(135deg, var(--table-primary-color), #3b6288);
    color: white;
    border-top: 1px solid var(--table-border-color);
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.page-btn {
    padding: 0.2rem 0.7rem;
    border: 1px solid var(--table-border-color);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}
.page-btn:hover{
    background: var(--table-secondary-color);
    color: white;
    border-color: var(--table-secondary-color);
}
.page-btn.active {
    background: var(--table-secondary-color);
    color: white;
    border-color: var(--table-secondary-color);
}

/***** Вкладки *****/
.tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light-border-color);
}
.app_tabs {
    display: flex;
    margin-bottom: 0;
    border-bottom: 2px solid var(--light-border-color);
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

.tab {
    padding: 0.25rem 1rem;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    border-right: 1px solid var(--light-border-color);
    border-top: 1px solid var(--light-border-color);
    border-left: 1px solid var(--light-border-color);
    background: #FFFFFF;
}

.tab.active {
    background: var(--primary-color);
    color: white;
}
.tab.active:hover {
    background: var(--primary-color);
    color: white;
}

.tab:hover {
    background: var(--hover-primary-color);

}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}
.group_content{
    background: #FFFFFF;
    padding: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    margin-bottom: 10px;
}
.group_content_label{
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}
.group_content_checkbox{
    margin-top: 0.5rem !important;
}
label {
    display: inline-block;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}
.category-label{
    display: inline-block;
    font-weight: 500;
    color: var(--primary-color);
}
input[type="checkbox"][disabled] + label{
    color: var(--text-disable) !important;
    border-color: var(--text-disable) !important;
}
input[type="checkbox"][disabled][checked] + label{
    background: none !important;
}
input[type="text"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.validateError{
    border: 2px solid var(--table-danger-color) !important;
}
.photo-upload {
    border: 2px dashed var(--light-border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
	overflow: hidden;
    position: relative;
}
.activity_photo_cover{
    position: relative;
}
.activity_photo_remove{
    position: absolute;
    color: #2a5c8d;
    font-size: 1.5rem;
    top: 6px;
    right: 12px;
    z-index: 1;
    cursor: pointer;
}
.activity_photo_remove:hover{
    color: var(--main-color);
}
.hide-element{
	display: none !important;
}
.photo-preview {
    width: 240px;
    border-radius: 8px;
	object-fit: cover;
	height: 240px;
}
.gymnast-photo{
	width: 100%;
    border: 1px solid #333;
    border-radius: 10px;
}

.coach-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.coach-card {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--light-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.coach-card.selected {
    border-color: var(--primary-color);
    background: rgba(42,92,141,0.75);
    color: white;
}

.rank-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rank-badge {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--light-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.rank-badge.selected {
    border-color: var(--primary-color);
    background: rgba(42,92,141,0.75);
    color: white;
}

.parent-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.apparatus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.apparatus_name{
    padding: 5px;
}

.apparatus-card {
    border: 2px solid var(--light-border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 5px;
    margin-top: 5px;
}


.music-upload {
    border: 2px dashed var(--light-border-color);
    padding: 1rem;
    border-radius: 8px;
}

.complexity-editor {
    margin-top: 2rem;
    border: 2px solid var(--light-border-color);
    border-radius: 8px;
    padding: 1rem;
}

.element-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.element-row input {
    flex: 1;
}

.drag-over {
    border-color: var(--dynamic-orange);
    background: rgba(255,107,53,0.05);
}

.batch-upload {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(42,92,141,0.05);
    border-radius: 8px;
}

.drag-drop-area {
    padding: 2rem;
    border: 2px dashed var(--light-border-color);
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0;
}
.text-justify{
    text-align: justify;
}
/* Мультиселект */
/* Стилизация под form-select */
.form-select-like {
    position: relative;
    width: 100%;
    max-width: 300px; /* Настройте по желанию */
}
.multiselect {
    position: relative;
    width: 100%;
    /*max-width: 300px;*/
    margin-bottom: 1rem;
}
.mt-checkbox{
    margin-top: 10px;
}
.selected-options {
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selected-options::after {
    content: "▼";
    font-size: 0.8em;
    margin-left: 10px;
}

.multiselect > .dropdown-menu {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 5px;
}

.multiselect > .form-check-label {
    cursor: pointer;
    width: 100%;
    padding: 5px;
}

.form-check-input {
    /*margin-right: 0px;*/
}
.form-select{
    padding: 0.75rem 2.25rem 0.75rem 0.75rem !important;
}
/* Фильтр */
.btn-attention{
    background: var(--attent-color);
}
.btn-attention:hover{
    background: var(--attent-dark-color);
}
.bg-attention{
    background: var(--attent-color);
}
.bg-success-light{
    background: var(--success-light);
}
.pupil-filter {

}
.input-activity-category{
    border: 1px solid var(--judge-purple) !important;
    background-color: #fbf7ff;
    font-weight: 600;
    color: #663399FF;
}
.input-activity-category::placeholder{
    font-weight: 400;
    font-style: italic;
    font-size: 0.8em;
}
.category-box{
    position: relative;
}
.remove-category{
    position: absolute;
    color: #2a5c8d;
    font-size: 1.2rem;
    top: -6px;
    right: -6px;
    z-index: 1;
    cursor: pointer;
}
.category-changed{
    background-color: #e0ffe1 !important;
}
.tag-deselected{
    width: 100%;
    padding: 0.75rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    cursor: pointer;
}
.tag-deselected:hover{
    background: #fbf7ff;
    border: 1px solid var(--judge-purple);
}
.tag-selected{
    width: 100%;
    padding: 0.75rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    background: #fbf7ff;
    border: 1px solid var(--judge-purple);
    /*font-weight: 600;*/
    color: #663399FF;
}
.tag-selected:hover{
    background: #f3f3f3;
    border: 1px solid #ced4da;
}
.tag-checkbox{
    display: none;
}
.form-compact {
    font-size: 0.875rem !important;
    padding: 0.5rem 0.5rem !important;
}
.cookie-notice {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(45deg, var(--main-color), var(--accent-color));
	color: white;
	padding: 15px 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-text {
	flex: 1;
	margin-right: 20px;
	max-width: 700px;
}

.cookie-buttons {
	display: flex;
	gap: 10px;
}

.cookie-btn {
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.3s;
}

.cookie-accept-btn {
	background-color: var(--main-color);
	color: white;
}

.cookie-accept-btn:hover {
	background-color: var(--main-color-hover);
}


.cookie-hidden {
	display: none;
}
/*******************/

/***********Модальные окна***************/
.modal-dialog{
	max-width: 80% !important;
}

tr.performance_selected td {
	background: #daffee;
}
.tablet_group_img{
	width: 100%;
}
.feature_promo{
	background: #f4fcff;
    border-radius: 10px;
    border: 1px solid #454f87;
    margin-top: 40px;
    padding: 40px;
}
.translation_promo{
	margin-top: 40px;
    background: #e4f6f8;
    padding: 40px;
    border: 1px dashed;
    border-radius: 40px;
}
.translation_img{
	border: 2px solid #2284a3;
    border-radius: 10px;
}
/* Адаптивность */
@media (max-width: 1200px) {
	.reginfo{
    display: none;
	}
    .sidebar {
        margin-bottom: 2rem;
    }

    .card-img-left {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem !important;
    }

    .grade_label {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    table {
        display: block;
        overflow-x: auto;
        /*white-space: nowrap;*/
    }

    th, td {
        min-width: 10px;
    }

	.modal-dialog{
	max-width: 100% !important;
	margin: auto;
	}
}

@media print {
	@page {
        margin: 1cm;
		#size: A4 landscape;
    }
	body{
		font-size: 10pt !important;
		background-color: #FFFFFF !important;
		margin: 0;
	}
	html{
		margin: 0px;
		padding: 0px;
	}
	table{
		width: 100% !important;
		max-width: 100% !important;
	}
	td {
        min-width: 50px !important; /* Минимальная ширина столбца */
        max-width: 200px !important;; /* Максимальная ширина столбца */
      }
	.print-width-max{
		width: 100% !important;
		max-width: 100% !important;
		padding: 0px;
        margin: 0px;
	}
	.app-main{
		background-color: #FFFFFF !important;
	}
	.container{
		margin: 0 !important;
		padding: 0 !important;
		max-width: 100% !important;
	}
	h1{
		font-size: 18pt;
	}
	h2{
		font-size: 16pt;
	}
	.eventWrapper{
		font-size: 10pt;
	}
	.print-content{
		padding: 0 !important;
	}
  .d-print-inline {
    display: inline !important;
  }
  .d-print-inline-block {
    display: inline-block !important;
  }
  .d-print-block {
    display: block !important;
  }
  .d-print-grid {
    display: grid !important;
  }
  .d-print-inline-grid {
    display: inline-grid !important;
  }
  .d-print-table {
    display: table !important;
	
  }
  .p-school-name{
	max-width: 250px;
	white-space: nowrap;
	overflow: hidden;
  }
  .p-items-name{
	  max-width: 30px;
	white-space: nowrap;
	overflow: hidden;
  }
  .d-print-table-row {
    display: table-row !important;
  }
  .d-print-table-cell {
    display: table-cell !important;
  }
  .d-print-flex {
    display: flex !important;
  }
  .d-print-inline-flex {
    display: inline-flex !important;
  }
  .d-print-none {
    display: none !important;
  }
}
