

/* Start:/bitrix/components/aam/public.documents.element/templates/.default/style.css?17633758535597*/
.documents-element {
    display: block;
    margin: 50px 0;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    width: 75%;
}
.documents-element.full_width{
    width: 100%;
}
h1.document-element-title {
    font-size: 30px;
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    color: #000;
}

.document-element-info-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.document-element-info-block-item {
    display: block;
}

.document-element-content {
    display: block;
    margin: 20px 0;
    padding: 0;
}

.document-element-archive {
    display: block;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.document-element-archive-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #444;
}

.document-element-archive-item {
    display: block;
    padding: 5px 0;
}

.document-element-archive-item a {
    color: #0066cc;
    text-decoration: none;
}

.document-element-archive-item a:hover {
    text-decoration: underline;
}

.document-element-back-to-public {
    display: block;
    margin-bottom: 10px;
    padding: 10px 0;
}

.document-element-back-to-public a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.document-element-back-to-public a:hover {
    text-decoration: underline;
}

.document-element-back-to-list {
    display: block;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.document-element-back-to-list a {
    color: #0066cc;
    text-decoration: none;
}

.document-element-back-to-list a:hover {
    text-decoration: underline;
}

/* Базовая типография для контента */
.document-element-content h1,
.document-element-content h2,
.document-element-content h3,
.document-element-content h4,
.document-element-content h5,
.document-element-content h6 {
    margin: 1em 0 0.5em 0;
    font-weight: bold;
    line-height: 1.3;
}

.document-element-content h1 { font-size: 24px; }
.document-element-content h2 { font-size: 20px; }
.document-element-content h3 { font-size: 18px; }
.document-element-content h4 { font-size: 16px; }
.document-element-content h5 { font-size: 14px; }
.document-element-content h6 { font-size: 12px; }

.document-element-content p {
    margin: 0 0 1em 0;
}

.document-element-content ul,
.document-element-content ol {
    margin: 0 0 1em 1em;
    padding-left: 20px;
}

.document-element-content li {
    margin: 5px 0;
}

.document-element-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.document-element-content th,
.document-element-content td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.document-element-content th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.document-element-content blockquote {
    margin: 1em 0;
    padding: 10px 15px;
    border-left: 3px solid #ddd;
    background-color: #f9f9f9;
    font-style: italic;
}

.document-element-content code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.document-element-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 3px;
    overflow-x: auto;
    margin: 1em 0;
}

.document-element-content pre code {
    background: none;
    padding: 0;
}

.documents-detail {
    display: flex;
    flex-direction: row;
    gap: 25px;
}
.documents-list {
    display: block;
    margin-top: 50px;
    width: 25%;
}
.documents-list-item a {
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

.documents-list-item a:hover {
    text-decoration: underline;
    color: #0066cc;
}

.documents-list-item.select a{
    color: #0066cc;
}

.documents-list-item{
    display: block;
    padding: 8px 0;
    border-top: 1px solid #e0e0e0;
}
@media screen and (max-width: 768px){
    .documents-element{
        width: 100%;
    }
}

.documents-mobile-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.documents-dropdown-button {
    width: 100%;
    padding: 12px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    color: #333;
}

.documents-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.documents-dropdown-list.active {
    display: block;
}

.documents-dropdown-list .documents-list-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.documents-dropdown-list .documents-list-item:last-child {
    border-bottom: none;
}

.documents-dropdown-list .documents-list-item a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: normal;
}

.documents-dropdown-list .documents-list-item.select a {
    color: #0066cc;
    font-weight: bold;
}

.documents-dropdown-list .documents-list-item a:hover {
    color: #0066cc;
}

@media screen and (max-width: 768px) {
    .documents-detail {
        flex-direction: column;
        gap: 0;
    }

    .documents-list {
        display: none !important;
    }

    .documents-element {
        width: 100%;
        margin-top: 20px;
    }
}

@media screen and (min-width: 769px) {
    .documents-mobile-dropdown {
        display: none;
    }
}
/* End */
/* /bitrix/components/aam/public.documents.element/templates/.default/style.css?17633758535597 */
