* {
    transition: opacity .3s ease-in-out !important;
}

.ya-share2__item {
    margin-bottom: 10px !important;
}
.ya-share2__container_size_m .ya-share2__icon {
    height: 36px !important;
    width: 36px !important;
    background-size: 36px 36px !important;
}
.ya-share2__container_size_m .ya-share2__counter {
    font-size: 15px !important;
    line-height: 36px !important;
    padding: 0 12px !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:disabled {
    background-color: #507299 !important;
    border-color: #507299 !important;
}
[data-bs-theme=dark] .btn-primary,
[data-bs-theme=dark] .btn-primary:hover,
[data-bs-theme=dark] .btn-primary:focus,
[data-bs-theme=dark] .btn-primary:active,
[data-bs-theme=dark] .btn-primary:disabled {
    background-color: #2d5c91 !important;
    border-color: #2d5c91 !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    opacity: .7;
}

.btn-link,
.btn-link:hover,
.btn-link:active {
    color: #507299 !important;
}
.btn-link:hover {
    opacity: .7;
}

.alert-primary hr {
    border-color: #9ec5fe;
}
[data-bs-theme=dark] .alert-primary {
    background-color: #192644;
}

[data-bs-theme=dark] .text-bg-dark {
    background-color: black !important;
}

.form-range::-webkit-slider-thumb {
    background-color: #507299;
}
.form-range::-webkit-slider-runnable-track {
    background-color: #eaeaea;
}

body {
    font-size: 16px;
    line-height: 150%;
    color: #333;
    padding-top: 60px;
}
[data-bs-theme=dark] body {
    color: #dee2e6;
}

.head {
    background: #507299;
    width: 100%;
    position: fixed;
    height: 45px;
    left: 0;
    top: 0;
    z-index: 99999;
}
.head__inner {
    width: 1100px;
    margin: 0 auto;
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
    height: 45px;
    align-items: center;
    padding-bottom: 5px;
}
.head .head__ver {
    display: inline;
    color: #e6e6e6;
    font-weight: 300;
    font-size: 14px;
    vertical-align: super;
}
.head a {
    color: #fff !important;
    font-size: 19px;
    font-weight: 300;
    -webkit-transition: color .3s ease-in;
    transition: color .3s ease-in;
}
.head a:hover {
    opacity: .7;
    text-decoration: none;
}
.head__buttons svg {
    cursor: pointer;
}
.head__buttons svg:hover {
    opacity: .7;
}
.head .light-butt {
    display: none;
    margin-top: 3px;
}
[data-bs-theme=dark] .head .light-butt {
    display: block;
}
[data-bs-theme=dark] .head .dark-butt {
    display: none;
}

section {
    width: 1100px;
    margin: 0 auto;
}

H1 {
    font-weight: 300;
    font-size: 2em;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}
H1 a {
    font-size: 20px;
    vertical-align: top;
}
H2 {
    font-weight: 400;
    font-size: 1.3em;
    padding-bottom: 10px;
    line-height: 1;
}

hr {
    border: none;
    border-bottom: 1px dashed #dddddd;
    width: 100%;
    opacity: 1;
    margin: 20px 0;
}
[data-bs-theme=dark] hr {
    border-color: #495057;
}

table {
    width: 100%;
    border: 1px solid #eaeaea;
    border-collapse: collapse;
}
[data-bs-theme=dark] table {
    border-color: #495057;
}
table td, table th {
    padding: 8px;
    line-height: 25px;
    border: 1px solid #eaeaea;
}
table th {
    font-weight: 500;
}
[data-bs-theme=dark] table td, [data-bs-theme=dark] table th {
    border-color: #495057;
}
table tr:nth-child(odd) {
    background: #fbfbfb;
}
[data-bs-theme=dark] table tr:nth-child(odd) {
    background-color: #262a2e;
}
table tr:hover {
    background: rgba(0, 140, 186, 0.05);
}
table tr:hover th {
    background: #fbfbfb;
}
table tr.active {
    background: #cfe2ff75;
}
[data-bs-theme=dark] table tr.active {
    background: #28384a;
}

ul, ol {
    padding-left: 20px;
    margin: 0;
}
ul li, ol li {
    padding: 5px 0;
}

a {
    color: #507299;
    text-decoration: none;
}
a:hover, a:focus {
    color: #507299;
    text-decoration: underline;
}
[data-bs-theme=dark] a {
    color: #6894c7;
}
[data-bs-theme=dark] a:hover, [data-bs-theme=dark] a:focus {
    color: #6894c7;
}

a.external-link {
    background: url('/icons/external_link_icon.svg') right center no-repeat;
    padding-right: 18px;
    background-size: 14px;
}

.left {
    text-align: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}
.hide {
    display: none !important;
}
.bold {
    font-weight: 500;
}
.fs-15 {
    font-size: 15px;
}
.gray {
    color: gray;
}
.green {
    color: #3b9814;
}
.red {
    color: #ea3d3d;
}
.monospace {
    font-family: monospace;
}

.info {
    background: #fbfbfb;
    border: 1px solid #eaeaea;
    padding: 5px 15px;
    border-radius: 6px;
    margin: 15px 0;
}
[data-bs-theme=dark] .info {
    border-color: #495057;
    background-color: #262a2e;
}
.info p {
    margin: 10px 0;
}
.info .warning {
    display: block;
    background: #fff3cd;
    padding: 10px 15px;
    margin: 10px -15px;
    color: #664d03;
}
[data-bs-theme=dark] .info .warning {
    background: #a59564;
    color: #3e2f04;
}
.info #displayInfo,
.info.hidden #hideInfo,
.info.hidden p,
.info.hidden ul,
.info.hidden ol {
    display: none;
}

.hidebutt {
    background: #ced7e2;
    display: block;
    width: 100%;
    height: 25px;
    margin: 10px 0;
    text-align: center;
    color: #fbfbfb;
    cursor: pointer;
    border-radius: 6px;
    transition: background .3s ease-in-out !important;
}
[data-bs-theme=dark] .hidebutt {
    background: #3c3f42;
}
.hidebutt:hover {
    background: #507299;
}

.copybutt {
    width: 42px;
    height: 38px;
    background-image: url('/icons/copy_butt.svg');
    background-repeat: no-repeat;
    background-position: center center;
}
.copybutt:disabled {
    background-image: url('/icons/copy_butt_ready.svg');
}

.copy-text-butt {
    padding-left: 34px;
    background-image: url('/icons/copy_butt.svg');
    background-repeat: no-repeat;
    background-position: 12px center;
}
.copy-text-butt:disabled {
    background-image: url('/icons/copy_butt_ready.svg');
}

ul#versions {
    margin-top: 15px;
    margin-bottom: 5px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 3px;
}
ul#versions.small-ver {
    height: 200px;
    overflow: hidden;
}
ul#versions li {
    padding: 0;
}

.related-tools {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style-type: none;
    gap: 5px;
}
.related-tools li {
    width: calc((100% - 10px) / 3);
    background: #fbfbfb;
    padding: 5px 8px;
}
[data-bs-theme=dark] .related-tools li {
    background: #262a2e;
}
.related-tools li::before {
    content: '» ';
}

.block {
    padding: 10px;
    border-radius: 6px;
    background: #fbfbfb;
    border: 1px solid #eaeaea;
    margin-bottom: 15px;
}
[data-bs-theme=dark] .block {
    border-color: #495057;
    background-color: #262a2e;
}

.comm-block {
    padding: 5px 10px;
    border-radius: 6px;
    background: #fbfbfb;
    border: 1px solid #eaeaea;
    margin-bottom: 15px;
}
[data-bs-theme=dark] .comm-block {
    border-color: #495057;
    background-color: #262a2e;
}
.comm-padding {
    margin-left: 20px;
    position: relative;
}
.comm-padding::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    height: 50%;
    border-left: 1px dashed #eaeaea;
    border-bottom: 1px dashed #eaeaea;
    display: block;
    width: 5px;
}
[data-bs-theme=dark] .comm-padding::before {
    border-color: #495057;
}
.comm-text {
    line-height: 130%;
    white-space: pre-line;
}

.main-tools-list {
    list-style-type: none;
    padding-left: 0;
}
.main-tools-list > li {
    padding: 10px;
    border-radius: 6px;
    background: #fbfbfb;
    border: 1px solid #eaeaea;
    margin-bottom: 15px;
    color: #878787;
}
[data-bs-theme=dark] .main-tools-list > li {
    border-color: #495057;
    background-color: #262a2e;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
}
.tools-list li {
    width: calc(100% / 3);
}

footer {
    display: block;
    text-align: center;
    margin: 15px 0;
}

@media screen and (max-width: 1120px) {
    .head__inner {
        width: 100%;
    }
    section {
        width: 100%;
        padding: 0 10px;
    }
}
@media screen and (max-width: 1030px) {
    ul li, ol li {
        padding: 3px 0;
    }
    .tools-list li {
        width: calc(100% / 2);
    }
}
@media screen and (max-width: 960px) {
    .related-tools li {
        width: calc((100% - 5px) / 2);
    }
}
@media screen and (max-width: 760px) {
    .tools-list li {
        width: 100%;
    }
}
@media screen and (max-width: 720px) {
    .related-tools li {
        width: 100%;
    }
}
