﻿/* Common */
body
{
    /* DXCOMMENT: Duplicate a font family and font size from the web.config (devexpress->themes->font settings) for the web-site's HTML content */
    font: 16px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
}

/* Article Layout */
.text-content
{
    min-height: 100%;
    max-width: 816px;
    margin: 0px auto;
    padding: 0px 4px 0px 4px;
    word-wrap: break-word;
}

@media (min-width: 816px)
{
    .text-content
    {
        padding: 0px 48px;
    }
}

/* Base Styles */
.text-content
{
    color: #666;
    line-height: 1.5;
}
    .text-content p
    {
        margin-top: 0;
        margin-bottom: 1rem;
    }

/* Headers */
.text-content h1, .text-content h2, .text-content h3, .text-content h4, .text-content h5, .text-content h6
{
    color: #444;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.text-content h3, .text-content h4, .text-content h5, .text-content h6
{
    font-weight: 600;
}

.text-content h1
{
    font-size: 2em;
}
.text-content h2
{
    font-size: 1.75em;
}
.text-content h3
{
    font-size: 1.375em;
}
.text-content h4
{
    font-size: 1.25em;
}
.text-content h5
{
    font-size: 1.125em;
}
.text-content h6
{
    font-size: 1em;
}

.text-content > h1:not(:first-child)
{
    margin-top: 1.75rem;
}

.text-content > h2:not(:first-child)
{
    margin-top: 1.5rem;
}

.text-content > h3:not(:first-child)
{
    margin-top: 1.25rem;
}

.text-content > h4:not(:first-child)
{
    margin-top: 1.125rem;
}

.text-content > h5:not(:first-child)
{
    margin-top: 1rem;
}

.text-content > h6:not(:first-child)
{
    margin-top: .9rem;
}

/* Title + Lead */
.text-content .title
{
    margin-top: 1.2rem;
    margin-bottom: .8rem;
}
@media (min-width: 576px)
{
    .text-content .title
    {
        color: #222;
        font-size: 2em;
        font-weight: 600;
    }
}

.text-content .lead
{
    font-size: 1.125rem;
    font-weight: 300;
}
@media (min-width: 576px)
{
    .text-content .lead
    {
        max-width: 80%;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
}

.text-content > h2.category
{
    color: #222;
    font-weight: 600;
}

.text-content > h2.category:not(:first-child)
{
    margin-top: 3rem;
}


/* #href bookmark jump */
.text-content > h1[id]::before,
.text-content > h2[id]::before,
.text-content > h3[id]::before,
.text-content > h4[id]::before
{
    display: block;
    height: calc(3.13rem + 1.2rem); /* Main Menu Height (3.13rem) + .title margin-top = 1.2rem */
    margin-top: calc(-3.13rem - 1.2rem);
    visibility: hidden;
    content: "";
}


/* Link */
.text-content a
{
    /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
    color: #42A3BD;
}
.text-content a:visited
{
    /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
    color: #317A8D; /* 25% black overlay */
}
.text-content a:hover
{
    /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
    color: #84C3D4; /* 35% white overlay */
}

.text-content b, .text-content strong
{
    color: #444;
}

mark
{
    /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
    background-color: #42A3BD;
    color: #fff;
}

small
{
    color: #999999;
    font-size: 0.75em;
}

code, pre
{
    font-family: Consolas, Menlo, Monaco, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875em;
}

hr
{
    height: 1px;
    opacity: 0.1;
    background-color: #000000;
    border: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

blockquote
{
    background-color: #f2f2f2;
    color:#444;
    margin:0;
    margin-bottom: 1rem;
    font-size: 1.125em;
    padding: 29px 26px;
    border: 0;
    border-left: 6px solid #d8d8d8;
}

blockquote p
{
    margin-top:0;
}
blockquote footer
{
    display: block;
    font-size: 0.875em;
    font-style: italic;
    color: #999;
}

blockquote footer::before
{
    content: "\2014 \00A0";
}
        
/* Contents (Left Panel) */
.section-caption.contents-caption
{
    padding-left: 31px;
    border-top: none !important;
}


/* Lists */
.text-content ul,
.text-content ol
{
    margin-top: 1em;
    margin-bottom: 1em;
}

@media (min-width: 992px)
{
    .bd-content > ul, .bd-content > ol, .bd-content > p
    {
        max-width: 80%;
    }
}

/* Text Alignment */
.text-center
{
    text-align: center !important;
}

.text-right
{
    text-align: right !important;
}

.indent-p
{
    padding-left: 40px;
    padding-right: 20px;
}

.bordered-block
{
    background-color: #f2f2f2;
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    border-width: .2rem;
}

@media (min-width: 576px)
{
    .bordered-block
    {
        padding: 1.5rem;
        margin-right: 0;
        margin-left: 0;
        border-width: .2rem;
    }
}

/* Tables */
.table
{
   // margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
    
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: #212529;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: #212529;
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: #212529;
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6
}

    .table td,
    .table th {
        /* 
        padding: .75em;
        padding-top: 0.2em;
        padding-bottom: 0.2em;
        vertical-align: top;
         border-top: 1px solid #dee2e6; 
        text-align: left;

        */
    }

.table thead th
{
    border-bottom: 1px solid #d8d8d8;
    background-color: #f2f2f2;
    color: #222;
}
.table thead tr
{
    box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.23);
}

.table tbody + tbody
{
    border-top: 1px solid #dee2e6;
}

.table-bordered
{
    border: 1px solid #dee2e6;
}

.table-bordered td,
.table-bordered th
{
    border: 1px solid #dee2e6
}

.table-bordered thead td,
.table-bordered thead th
{
    border-bottom-width: 1px
}

.table-responsive
{
    max-width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* Code, Control Area Block */
.control-area-block
{
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    background-color: #f8f9fa;
}

/* Images */
.img-responsive
{
    max-width: 100%;
    height: auto;
}

.img-float-left
{
    float: left;
    padding-right: 40px;
    padding-bottom: 40px;
}
@media (max-width: 576px)
{
    .img-float-left
    {
        padding-right: 16px;
        padding-bottom: 16px;
    }
}

/* Printing Styles */
@media print
{
    .menu-container, .left-block, .right-block,
    .footer-wrapper
    {
        display: none !important;
    }

    .left-panel
    {
        display: none !important;
    }

    .text-content
    {
        max-width: 100%;
    }

    html
    {
        padding: 0 !important;
    }

    .page-toolbar-wrapper
    {
        display: none !important;
    }
}

.dx-bs5.bg-light {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #e9ecef;
    border-radius: .3rem;
}

.dxbButton_Material div.dxb {
    padding: 2px 3px 2px 3px;
}

.dxflGroupBox_Material {
    display: table;
    border-collapse: separate;
    width: 100%;
    border: 1px Solid #DFDFDF;
    padding: 0 0 5px;
    margin: 9px 0;
}

.dxflGroupCell_Material > .dxflPCContainerSys {
    padding: 2px;
}

/* Сè е скопирано под .nedv-section за да не влијае на гридот подолу */
.nedv-section {
    --nedv-accent: #1d6fd8;
    --nedv-accent-dark: #175cb5;
    --nedv-border: #e3e8ef;
    --nedv-text: #1f2a37;
    --nedv-muted: #6b7785;
    color: var(--nedv-text);
    margin-bottom: 10px;
}

    /* Потесен наслов само на оваа страница */
    .nedv-section .page-header h3 {
        margin: 0 0 4px;
    }

    .nedv-section .page-header hr {
        margin: 4px 0 8px;
    }

    /* Опис лево, главно копче десно — во ист ред */
    .nedv-section .nedv-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        margin-bottom: 6px;
    }

    .nedv-section .nedv-lead {
        margin: 0;
        color: var(--nedv-muted);
        font-size: 13px;
        line-height: 18px;
    }

    .nedv-section .nedv-panel {
        background: #fff;
        border: 1px solid var(--nedv-border);
        border-radius: 8px;
        padding: 8px 12px 10px;
        box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    }

    /* Мрежа од 12 колони — само на наши div-ови, не на DevExpress контејнери */
    .nedv-section .nedv-grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 6px 14px;
    }

    .nedv-section .nedv-c3 {
        grid-column: span 3;
    }

    .nedv-section .nedv-c4 {
        grid-column: span 4;
    }

    .nedv-section .nedv-c5 {
        grid-column: span 5;
    }

    .nedv-section .nedv-c7 {
        grid-column: span 7;
    }

    .nedv-section .nedv-label {
        display: block;
        margin: 0 0 2px;
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
        color: var(--nedv-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Радио листата се порамнува со долниот раб на полето лево од неа */
    .nedv-section .nedv-radios {
        align-self: end;
    }

    .nedv-section .nedv-status {
        margin-top: 4px;
    }

    /* Главно копче */
    .nedv-section .nedv-btn {
        background: var(--nedv-accent) !important;
        background-image: none !important;
        border: 1px solid var(--nedv-accent) !important;
        border-radius: 5px !important;
        box-shadow: none !important;
    }

        .nedv-section .nedv-btn,
        .nedv-section .nedv-btn .dx-vam {
            color: #fff !important;
            font-weight: 600;
        }

            .nedv-section .nedv-btn .dxb {
                padding: 4px 12px !important;
            }

            .nedv-section .nedv-btn:hover {
                background: var(--nedv-accent-dark) !important;
                border-color: var(--nedv-accent-dark) !important;
            }

@media (max-width: 1100px) {
    .nedv-section .nedv-c3,
    .nedv-section .nedv-c4 {
        grid-column: span 6;
    }

    .nedv-section .nedv-c5,
    .nedv-section .nedv-c7 {
        grid-column: span 12;
    }
}

@media (max-width: 600px) {
    .nedv-section .nedv-c3,
    .nedv-section .nedv-c4 {
        grid-column: span 12;
    }

    .nedv-section .nedv-top {
        grid-template-columns: minmax(0, 1fr);
    }
}