html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    /* background: #F8F7F7; */
    background: var(--color-back);
    color: rgb(38, 39, 44);
    font-family: Helvetica, Arial, sans-serif;
}

*{
    box-sizing: border-box;
}

p, a {
    font-size: inherit;
    line-height: 24px;
    margin: 8px 0;
}
p b, p i, p u, p s, p strike, p span {
    line-height: inherit;
}

h1 {
    font-size: 48px;
    line-height: 64px;
    margin: 0;
}

input, textarea, div[contenteditable=true], select, .select {
    background: #fff;
    border: 0;
    outline: 0;
    margin: 8px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    line-height: 24px;
    border-radius: 8px;
}
div[contenteditable=true] {
    margin-top: 0;
    border-radius: 0 0 8px 8px;
    min-height: 76px;
}
input:disabled {
    background: var(--color-back-light);
}
input[type=submit], input[type=file] {
    display: none;
}
input[type=checkbox] {
    min-width: unset;
    width: 18px;
    height: 18px;
}
input[type=radio] {
    min-width: unset;
}
input::placeholder{
    color: inherit;
    opacity: 0.5;
}

textarea {
    width: 100%;
    resize: none;
}
.input_name{
    font-size: 12px;
    line-height: 16px;
    padding: 4px 16px;
    margin: 0 8px;
    user-select: none;
}
.input_error {
    font-size: 14px;
    font-weight: bold;
    margin:0;
}
.invalid_field_msg {
    display: none;
    font-size: 14px;
    background: #f8e08c;
    border-radius: 8px;
    padding: 4px 8px;
    margin-top: -12px;
    margin-bottom: 8px;
}

table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
thead {
    height: 46px;
    color: var(--color-text-second, #777);
}
td {
    padding: 4px 8px;
    border-right: 2px solid var(--color-back,#ccc);
}
.tbl_num {
    text-align: center;
    font-weight: bold;
    color: var(--color-text-second, #777);
}
thead tr, tr:nth-child(even) {
    background: var(--color-back-light, rgb(233, 233, 233));
}

.inline_w {
    font-size: 0;
}
.d_inline {
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
}

.space16{width: 16px; height: 16px;}
.space24{width: 24px; height: 24px;}
.space32{width: 32px; height: 32px;}
.space48{width: 48px; height: 48px;}
.space64{width: 64px; height: 64px;}
.space86{width: 86px; height: 86px;}
.space108{width: 108px; height: 108px;}

.w_full {
    width: 100%;
}
.w_part {
    max-width: 1440px;
    width: 100%;
    margin: auto;
}
.h_full {
    min-height: 100%;
}

.p_deff {
    padding: 16px;
}
.p_0-24 {
    padding: 0 24px;
}
.p_24 {
    padding: 24px;
}
.p_double {
    padding: 16px 24px;
}
.p_hor {
    padding: 0 16px;
}

.m_b_16 {
    margin-bottom: 16px;
}
.m_b_32 {
    margin-bottom: 32px;
}

.d_row {
    display:flex;
    flex-direction: row;
}

.button {
    display: inline-block;
    background: #D2D2E8;
    min-width: 84px;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    margin: 8px;
    padding: 8px 28px;
    border-radius: 8px;
    color: var(--color-main);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}
.button_icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 4px;
    border: 2px solid transparent;
    border-radius: 8px;
    user-select: none;
    cursor: pointer;
}
.button_icon:hover {
    border: 2px solid var(--color-light);
}

.button_info {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-text-second);
    color: var(--color-text-second);
    border-radius: 50%;
    text-align: center;
    margin-left: 4px;
    cursor: default;
}

.b_text, .b_link {
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--color-text-def);
    text-align: left;
    padding: 8px 12px;
}
.b_text:hover {
    background: rgba(0,0,0,.07)
}
.b_link {
    color: var(--color-text-title);
    text-decoration: underline;
}
.b_link:hover {
    color: var(--color-main);
}
.b_tooltip_container {
    display:inline-block;
    position: relative;
}
.b_tooltip {
    display: none;
    position: absolute;
    background: #49484b;
    padding: 8px 14px;
    margin: 0;
    color: #fff;
    border-radius: 8px;
    max-width: 248px;
    text-align: center;
    font-size: 14px;
    line-height: 18px;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}
.b_tooltip_left {
    left: -12px;
    top: -8px;
    bottom: unset;
    transform: translateX(-100%);
}
.b_tooltip_container:hover > .b_tooltip {
    display: block;
}
.icon_in_button {
    display: inline-block;
    vertical-align: top;
    width: 24px;
    height: 24px;
    margin: 0 4px 0 -4px;
}
.icon_btn_text {
    display: inline-block;
    width: calc(100% - 28px);
    line-height: 16px;
}
.bi_after {
    margin: 0 -4px 0 4px;
}
.bi_midd {
    margin: 0;
}
.b_accent {
    background: #FF4141;
    border: 2px solid #dd2727;
    color: white;
    font-weight: bold;
}
.b_main {
    background: var(--color-main);
    color: white;
    font-weight: bold;
    border: 2px solid var(--color-main-d);
}
.b_white {
    background: white;
    border-color: white;
    color: white;
}
.b_light {
    background: var(--color-back);
    border: 2px solid #dde1ef;
    color: var(--color-text-def);
}
.b_border {
    background: transparent;
    border-width: 2px;
    border-style: solid;
}
.b_bg_t {
    background:rgba(0,0,0,.11);
}
.b_icon {
    min-width: unset;
    background: unset;
    border: unset;
    padding: 8px;
}
.b_icon:hover {
    background: rgba(0,0,0,0.04);
}
.b_fw {
    width: 100%;
    margin: 8px 0;
}
.b_L {
    padding: 12px 32px;
}
.b_S {
    padding: 6px 22px;
    font-size: 14px;
    line-height: 18px;
}
.b_XS {
    padding: 4px 12px;
}
.b_XS .icon_in_button {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}
.b_S .icon_in_button {
    width: 20px;
    height: 20px;
}
.b_XL {
    padding: 16px 38px;
    font-size: 18px;
}
.b_drag {
    user-select: auto;
    min-height: 34px;
}
.b_disabled {
    opacity: 0.5;
    cursor: auto;
}

.shadow {
    box-shadow: 0 5px 8px rgb(5 9 138 / 17%), 0 12px 22px rgb(35 117 165 / 17%)
}
.shadow_deff {
    box-shadow: 0 5px 8px rgb(138 109 179 / 28%), 0 12px 22px rgb(153 149 158 / 30%);
}
.shadow_gray {
    box-shadow: 0 5px 12px rgb(0 0 0 / 12%);
}

.tooltip {
    border-radius: 8px;
    padding: 8px;
}
.tooltip_warn {
    background: linear-gradient(45deg, #ffb333, #f99839);
    border-radius: 8px;
    padding: 8px 16px;
    margin: 8px 0;
    color: #fff;
}

.arrow_t {
    position: relative;
}
.arrow_t::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-7px) rotate(45deg);
    z-index: 1;
    display: block;
    width: 14px;
    height: 14px;
    background: #e0d5f2;
}
.arrow_warn_b {
    position: relative;
}
.arrow_warn_b::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-7px) rotate(45deg);
    z-index: 1;
    display: block;
    width: 14px;
    height: 14px;
    background: #fca436;
}


.footer {
    min-height: 180px;
    background: #D0D1D9;
    margin-top: 64px;
    padding: 32px 16px;
}


@media (max-width: 1440px) {
    .w_part {
        width: 1220px;
    }
}

@media (max-width: 1280px) {
    .w_part {
        width: 92%;
    }
}


@media (max-width: 1280px) {
    .button {
        padding: 6px 22px;
        line-height: 22px;
    }
    .b_S {
        line-height: 18px;
    }
    .b_XS {
        padding: 2px 10px;
    }
    .b_L {
        padding: 8px 26px;
    }
    .b_XL {
        padding: 12px 28px;
    }
    input, textarea, div[contenteditable=true] {
        padding: 8px 12px;
    }
    .b_icon {
        padding: 8px;
    }
}