/* Переменные */

:root {

    --main_color: #222;
    --secondary_color: #f5f5f5;
    --light_color: #fff;

    --main-txt: #222;
    --light-txt: #fff;
    --secondary-txt: #808080;

    --stocks: #EB4D4F;
    --scrollbar-bg: #ececec;
    --scrollbar: #222;

    --border: #eaeaea;
}

/* Конец переменные */

*::selection {
    background: #dfdfdf;
    color: var(--main-txt);
}

#bx-panel .bx-panel-button-icon.theme-icon {
    width: 40px !important;
    background: url("./images/theme-icon.png") no-repeat bottom !important;
    background-size: contain !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.k_loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000;
    animation: fadeIn .3s forwards;
}

.k_loader::before {
    content: '';
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    border-left: 4px solid #fff;
    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotate .8s linear infinite;
}

.k_loader.btn_fill, .k_loader.btn_border {
    position: relative;
    animation: none;
    pointer-events: none;
    z-index: 1;
    color: transparent !important;
}

.k_loader.btn_fill::before, .k_loader.btn_border::before {
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    width: 24px;
    height: 24px;
    border-left: 3px solid var(--theme-txt);
}

.k_loader.btn_border::before {
    border-left: 3px solid var(--light-btn-hover);
}

.static_page section {
    margin-bottom: 50px;
}

.static_page section:last-child {
    margin-bottom: 0;
}

.static_page h1,
.static_page h2,
.static_page h3,
.static_page h4,
.static_page h5,
.static_page h6 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.static_page .title {
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 50px;
    margin-top: 0;
}

.static_page * {
    color: var(--main-txt)
}

.static_page b, .static_page b * {
    font-weight: 600;
}

.select_text {
    background-color: var(--secondary_color);
    padding: 20px 20px 20px 25px;
    position: relative;
    margin: 15px 0 0;
}

.select_text:before {
    content: " ";
    display: block;
    width: 4px;
    background-color: var(--theme-color);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

ol.krayt_ol {
    counter-reset: myCounter;
    margin-left: 0;
    color: rgb(100, 100, 100);
}

.static_page ul, ul.line {
    line-height: 2;
}

.static_page li, ul.line li {
    position: relative;
    padding-left: 25px;
    margin: 5px 0;
}

ol.krayt_ol li {
    padding-left: 0;
}

.static_page ul li:before,
ul.line li:before {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    left: 0;
    width: 8px;
    height: 8px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    z-index: 1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--theme-color);
}

ol.krayt_ol li:before {
    display: inline-block;
    margin-right: 10px;
    width: 22px;
    height: 22px;
    font-size: 14px;
    line-height: 22px;
    color: var(--theme-txt);
    font-weight: 500;
    text-align: center;
    z-index: 1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    bottom: 0;
    right: 0;
    background-color: var(--theme-color);
    counter-increment: myCounter;
    content: counter(myCounter);
}

.footer-item-copy {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 12px;
    color: #86868F;
}

.footer-item-copy-item a,
.footer-item-copy-item span {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #000;
    -webkit-transition: color .2s ease-out;
    transition: color .2s ease-out;
}

.modal-form-bitrix24 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    z-index: 100000;
}

.modal-form-bitrix24.open {
    display: block;
}

.modal-form-bitrix24-content {
    width: 40%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 512px;
}

.modal-form-bitrix24-close {
    position: absolute;
    right: 10px;
    top: 10px;
    background-image: url(http://webkrayt.ru/close.svg);
    width: 20px;
    height: 20px;
    background-position: center;
    background-size: 20px;
}

.static_page {
    clear: both;
    margin-bottom: 0px;
}

.static_page a {
    text-decoration: underline;
}

.static_page p, .static_page p *, .static_page li, .static_page li * {
    font-size: 14px;
    line-height: 1.4;
}

.static_page blockquote {
    text-indent: 20px;
}

.static_page table td {
    padding: 10px;
    border: 1px solid #000;
}

.body-kloader {
    overflow: hidden;
}

.bx-no-touch .body-kloader {
    padding-right: 8px;
}

.static_page h1, .static_page h1 * {
    font-weight: 700;
    font-size: 30px;
}

.static_page h2, .static_page h2 * {
    text-align: left;
    font-weight: 600;
    text-transform: none;
}

.static_page h2:after {
    content: none;
}

.static_page h2:before {
    content: none;
}

.static_page h3, .static_page h3 * {
    font-size: 22px;
    font-weight: 600;
}

.static_page h4, .static_page h4 * {
    font-size: 20px;
}

.static_page h5, .static_page h5 * {
    font-size: 18px;
}

.td_center tr td {
    text-align: center;
}

.td_right tr td {
    text-align: right;
}

.td_left tr td {
    text-align: left;
}

.TimesNewRoman {
    font-family: "Times New Roman", Times !important;
}

.CourierNew {
    font-family: "Courier New" !important;
}

.ArialHelvetica {
    font-family: Arial, Helvetica !important;
}

.ArialBlack {
    font-family: "Arial Black", Gadget !important;
}

.TahomaGeneva {
    font-family: Tahoma, Geneva !important;
}

.Verdana {
    font-family: Verdana !important;
}

.Georgia {
    font-family: Georgia, serif !important;
}

.monospace {
    font-family: monospace !important;
}