img
blockquote,
body,
code,
dd,
div,
dl,
dt,
fieldset,
form,
input,
pre,
td,
textarea,
th {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
    max-height: 100000px;
}

body {
    font-family: Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #444D56;
}

.logo {
    font-weight: 700;
    font-size: 22px;
    line-height: 25px;
    color: #121212;
    text-decoration: none;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-content: center;
    justify-content: space-between;
    padding: 16px 0 14px;
}

.ul-language {
    display: none;
    position: absolute;
    right: 0;
    top: 28px;
    padding: 6px 0;
    background: #FFFFFF;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    min-width: 144px;
    z-index: 6;
}

.ul-language__item a {
    padding: 9px 10px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: #121212;
    display: block;
}

.ul-language__item a:hover {
    background: #FAFBFC;
}

.header-languages {
    position: relative;
}

.language-current {
    position: relative;
    padding-left: 20px;
    padding-right: 13px;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: #121212;
    cursor: pointer;
}

.language-current:before,
.language-current:after {
    content: '';
    position: absolute;
}

.language-current:before {
    width: 16px;
    height: 16px;
    background: url("/img/lang.svg");
    left: 0;
    top: 1px;
}

.language-current:after {
    background: url("/img/arrow.svg");
    width: 9px;
    height: 5px;
    right: 0;
    top: 6px;
}

.section-editors {
    background: #FAFBFC;
    border: 1px solid #E1E4E8;
    border-radius: 10px;
    margin: 0 45px;
    padding: 24px 32px 32px;
}

.content-sidebar {
    display: flex;
    margin-top: 90px;
    margin-bottom: 60px;
}

.content-body xmp {
    white-space: pre-line;
    padding: 0 18px 18px 18px;
    border: 1px solid #E1E4E8;
    border-radius: 10px;
    margin-top: 23px;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #121212;
    overflow-x: auto;
}

.content-body a {
    color: #395CDB;
    text-decoration: none;
}

.content-body a:hover {
    text-decoration: underline;
}

.content-body p {
    margin: 9px 0;
}

.editors {
    display: flex;
    justify-content: space-between;
    margin-bottom: 34px;
}

.form-group {
    width: calc(50% - 19px);
    min-height: 420px;
    margin-bottom: 0;
    overflow-y: hidden;
}

#html-code {
    height: 400px;
}

.CodeMirror-scroll {
    margin-bottom: 0;
    padding-bottom: 0;
}

.CodeMirror-gutters,
.CodeMirror {
    height: 400px !important;
    max-height: 400px !important;
}

.form-control {
    border: 1px solid #E1E4E8;
    border-radius: 8px;
}

.note-editor.note-frame.panel {
    border: 1px solid #E1E4E8;
    border-radius: 8px;
    margin-bottom: 0;
    box-shadow: none;
}

/* TinyMCE: общая высота визуального редактора около 400px с учётом панели инструментов */
#editor_ifr,
.mce-edit-area iframe {
    height: 320px !important;
    max-height: 320px !important;
}

.mce-tinymce {
    max-height: 400px !important;
}

.editors-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    margin: 0 0 8px 0;
    color: #121212;
}

.note-editor.note-frame,
.form-group textarea {
    height: 400px;
    max-height: 400px;
    resize: none;
}

.form-control:focus {
    box-shadow: none;
    border-color: #E1E4E8;
}

.count {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #777777;
    margin-top: 9px;
}

.count.right {
    text-align: right;
}

.count.left {
    text-align: left;
}

.btn-clear {
    background: #395CDB;
    border-radius: 10px;
    color: #FFFFFF;
    padding: 15px 29px;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    border: none;
    outline: none;
    cursor: pointer;
}

.btn-clear:hover {
    background: #344FAF;
}

.button-wrap {
    text-align: right;
}

.promo-editor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 126px;
    margin: 0 0 24px 0;
    padding: 12px 16px 16px;
    border: 1px solid #E1E4E8;
    border-radius: 12px;
    background: #FFFFFF;
}

.promo-editor__slot {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.promo-editor[data-state="loading"] .promo-editor__slot::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px dashed #D0D7DE;
    border-radius: 10px;
    background: linear-gradient(135deg, #F6F8FA 0%, #FFFFFF 50%, #F6F8FA 100%);
}

.promo-editor[data-state="loading"] .promo-editor__slot::after {
    content: attr(data-placeholder);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 12px;
    font-size: 13px;
    line-height: 18px;
    color: #6A737D;
    text-align: center;
}

.promo-editor[data-state="loaded"] .promo-editor__slot::before,
.promo-editor[data-state="loaded"] .promo-editor__slot::after {
    display: none;
}

#adfox_head > * {
    position: relative;
    z-index: 1;
}

.sidebar {
    width: 255px;
    min-width: 255px;
    margin-left: 30px;
}

.widget {
    margin-bottom: 40px;
}

.widget:last-of-type {
    margin-bottom: 0;
}

.widget-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    color: #121212;
    margin-bottom: 20px;
}

.widget-field {
    margin-bottom: 23px;
}

.widget-field:last-of-type {
    margin-bottom: 0;
}

.widget-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: #121212;
}

.widget-field input {
    background: #FFFFFF;
    border: 1px solid #E1E4E8;
    border-radius: 4px;
    display: block;
    padding: 10px 9px;
    font-size: 16px;
    line-height: 18px;
    color: #121212;
    width: 100%;
    outline: none;
}

.widget-field button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    text-align: center;
    font-size: 16px;
    line-height: 18px;
    color: #395CDB;
    background: #FAFBFC;
    border: 1px solid #395CDB;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}

.widget-field button:hover {
    background: #BAD2EB;
}

.promo-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 42px;
}

.mail-link {
    color: #121212;
    text-decoration: none;
    padding-left: 27px;
    position: relative;
}

.mail-link:before {
    content: '';
    width: 19px;
    height: 14px;
    position: absolute;
    background: url("/img/mail.svg");
    left: 0;
    top: 5px;
}

.mail-link:hover {
    color: #395CDB;
    text-decoration: none;
}

.languages {
    padding: 24px 0;
    border-top: 1px solid #E1E4E8;
}

.footer-languages__item {
    display: inline-flex;
    margin-right: 37px;
    margin-bottom: 27px;
}

.footer {
    background: #FAFBFC;
    padding: 40px 0;
    border-top: 1px solid #E1E4E8;
}

.footer-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

div#mceu_45 {
    display: none;
}

.cm-wrap {
    height: 100%;
}

.cm-scroller {
    overflow: auto;
}

.footer-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-menu a {
    text-decoration: none;
    margin-right: 15px;
}

.footer-menu a:last-child {
    margin-right: 0;
}

/* по желанию — как ссылка при наведении */
.footer-menu a:hover {
    text-decoration: underline;
}

.footer .footer-text .footer-menu ul {
    list-style: none !important;
    display: flex !important;
    gap: 15px;
    padding: 0;
    margin: 0;
}
