html {
	position: relative;
	min-height: 100%;
}

body {
	/* Padding top for navbar */
	padding-top: 56px;
	/* Margin bottom for footer height */
	margin-bottom: 60px;
}

section {
	padding: 150px 0;
}

img {
	max-width: 100%;
}


pre,
code {
	background: #f8f8f8;
	color: #333;
}

pre {
	border-left: 2px solid #ccc;
	padding: 10px;
}

code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th,
td {
	padding: 0.5em 1em;
}

h1.title,
h2.title {
	font-size: 2.3rem;
}

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px 20px;
	border-left: 5px solid #eee;
	font-style: italic;
}

/* Navbar */
img.nav-svg-icon {
	width: 1rem;
	height: 1rem;
	padding-bottom: 2px;
}

.nav-link {
	font-size: 0.8em;
}

/* Footer */
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 0.8em;
}

.mini-logo {
	height: 22px;
	padding-bottom: 5px;
}

/* Plugins */
.plugin {
	margin-top: 3rem;
}

.plugin-label {
	font-size: 1em;
	text-transform: uppercase;
}

.plugin ul {
	list-style: none;
	padding: 0 0 0 10px;
}

.bi {
	margin-right: .5rem !important;
}

.file_link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #f3f4f6;
    color: #2563eb;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.file_link:hover {
    background-color: #e5e7eb;
}

/* --- Группировка по расширениям --- */

/* Документы и текст */
.file_link[href$=".doc"]::before, .file_link[href$=".docx"]::before,
.file_link[href$=".rtf"]::before, .file_link[href$=".odt"]::before,
.file_link[href$=".ott"]::before { content: "📄"; margin-right: 8px;}

.file_link[href$=".pdf"]::before { content: "📕"; margin-right: 8px;}

.file_link[href$=".txt"]::before, .file_link[href$=".log"]::before { content: "📑"; margin-right: 8px;}

/* Таблицы и данные */
.file_link[href$=".xls"]::before, .file_link[href$=".xlsx"]::before,
.file_link[href$=".csv"]::before, .file_link[href$=".ods"]::before,
.file_link[href$=".ots"]::before { content: "📊";margin-right: 8px; }

/* Презентации */
.file_link[href$=".ppt"]::before, .file_link[href$=".pptx"]::before,
.file_link[href$=".odp"]::before, .file_link[href$=".otp"]::before { content: "📉"; margin-right: 8px;}
