﻿
body,html {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1300px)
{
    body, html {
        width: 80%;
    }
}
@media (max-width: 1100px) {
    body, html {
        width: 100%;
        margin: 0px;
    }
}
.contactsText {
    line-height: 110%;
    font-size: 90.01%;
    font-family: Arial, Helvetica, sans-serif;
}

div {
    border: 0px solid black;
}

.mTopBottomAuto {
    margin-top: auto;
    margin-bottom: auto;
}


.MyImgContainer {
    margin-left: auto;
    margin-right: auto;
}

    .MyImgContainer a {
        width: auto;
        text-decoration:none;
        display:block;
    }

        .MyImgContainer a img {
            width: 60px;
            height: auto;
            margin: 5px;
        }
@media(max-width: 600px)
{
    .MyImgContainer a img {
        width: 25px;
        height: auto;
        margin: 5px;
    }
}
.btn-sm{
    font-size:12px;
}

.tree {
    --spacing: 1.5rem;
    --radius: 10px;
}

    .tree li {
        display: block;
        position: relative;
        padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
    }

    .tree ul {
        margin-left: calc(var(--radius) - var(--spacing));
        padding-left: 0;
    }

        .tree ul li {
            border-left: 2px solid #ddd;
        }

            .tree ul li:last-child {
                border-color: transparent;
            }

            .tree ul li::before {
                content: '';
                display: block;
                position: absolute;
                top: calc(var(--spacing) / -2);
                left: -2px;
                width: calc(var(--spacing) + 2px);
                height: calc(var(--spacing) + 1px);
                border: solid #ddd;
                border-width: 0 0 2px 2px;
            }

    .tree summary {
        display: block;
        cursor: pointer;
    }

        .tree summary::marker,
        .tree summary::-webkit-details-marker {
            display: none;
        }

        .tree summary:focus {
            outline: none;
        }

        .tree summary:focus-visible {
            outline: 1px dotted #000;
        }

        .tree li::after,
        .tree summary::before {
            content: '';
            display: block;
            position: absolute;
            top: calc(var(--spacing) / 2 - var(--radius));
            left: calc(var(--spacing) - var(--radius) - 1px);
            width: calc(2 * var(--radius));
            height: calc(2 * var(--radius));
            border-radius: 50%;
            background: #D3D3D3;
        }
    .tree li:after {
        content: '';
        background-image: url('/lib/img/doc.png');
        background-size: 10px;
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        line-height: calc(2 * var(--radius) - 2px);
    }
    .tree summary::before {
        content: '+';
        z-index: 1;
        background: #D3D3D3;
        color: #000;
        line-height: calc(2 * var(--radius) - 2px);
        text-align: center;
    }

    .tree details[open] > summary::before {
        content: '−';
    }
    .tree a{
        color: white;
        text-decoration: none;
    }

.imgList img{
    filter: grayscale(100%);
}
.imgList img:hover {
    filter: grayscale(0%);
}