.mw356 {
    max-width: 356px;
}

.form-control {
    border-radius: 0.375rem;
}

.btn-xs {
    width: 1.25em;
    height: 1.25em;
    line-height: 0;
    padding: 0;
}

.input-group .input-group-text {
    min-width: 40px;
    justify-content: center;
}

#characterModal .form-check-input.chk_burning,
#characterModal .form-check-input.chk_beyond {
    width: 58px;
    height: 28px;
    background-size: 20px 20px;
    margin-right: 0.25em;
}

table#tbl_compares img,
img#img_content_thumb {
    vertical-align: text-top;
    height: 1em;
}

.input-group-text img {
    height: 2em;
}

#add_exp_setting table {
    border-top: 2px solid #aaa;
    border-bottom: 2px solid #aaa;
}

#add_exp_setting img {
    height: 32px;
    cursor: pointer;
}

#add_exp_setting th,
#add_exp_setting td {
    vertical-align: middle;
}

#add_exp_setting .form-control {
    text-align: center;
    display: inline-block;
    padding: 5px 10px;
    width: 80px;
    height: 2em;
    margin-right: 5px;
}

table#tbl_compares tr.tr_character,
table#tbl_compares tr.tr_character td {
    border-left-width: 0px;
    background-color: unset!important;
}

.table-hover>tbody>tr.tr_character:hover>* {
    --bs-table-bg-state: transparent;
}

table#tbl_compares th {
    padding: 0;
}

table#tbl_compares td {
    border-left-width: 1px;
}

table#tbl_compares td.value_1,
table#tbl_compares td.value_2,
table#tbl_compares td.value_3 {
    vertical-align: middle;
}


.compare_character_wrap {
    position: relative;
    color: white;
    background-color: rgb(67, 78, 85);
    border: 2px solid rgb(100, 120, 129);
    box-shadow: 0px 0px 0px 2px rgb(40, 47, 55);
    border-radius: 0.5em;
    padding: 10px;
    min-width: 250px;
    height: 100%;
}

.compare_character_wrap .btn_setting {
    cursor: pointer;
}

.compare_character_wrap .btn_setting:hover {
    text-shadow: 0px 0px 3px white;
}

.compare_character_wrap .compare_character_img {
    position: relative;
    height: 100px!important;
}

.compare_character_wrap .compare_character_img.character_zoom {
    scale: 3;
    object-position: 1px -5px;
    pointer-events: none;
}

.compare_character_wrap .compare_burning_img {
    height: 150px!important;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-52%);
}

.compare_character_wrap .compare_character_info {
    display: grid;
    vertical-align: middle;
    height: 116px;
    padding: 10px;
}

.compare_character_wrap .compare_character_info .nickname {
    background-color: rgb(60, 193, 215);
    border-radius: 100px;
    width: 120px;
    color: white;
    margin-bottom: 5px;
}

.btn_external {
    border: 2px solid rgb(89, 221, 235);
    background: linear-gradient(0, rgb(55, 185, 209), rgb(69, 205, 225));
    color: white;
    text-shadow: 1px 1px 0px rgb(35, 149, 175);
    box-shadow: 0px 0px 0px 1px rgb(108, 119, 133);
    border-radius: 0.25em;
    font-size: 1.25em;
    font-weight: bold;
}

.btn_external:hover {
    text-shadow: 0px 0px 3px white;
}

.btn_items {
    background: linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
    border: 2px solid rgb(127, 138, 153);
    box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
    color: white;
    text-shadow: 0px 1px 0px rgb(0, 0, 0);
    width: 100%;
    padding: 10px;
}

.btn_items:hover {
    text-shadow: 0px 0px 3px white;
    border: 2px solid rgb(127, 138, 153);
}

.or_line {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    color: #aaa;
    margin: 8px 0px;
}

#characterModal .modal-header,
#contentModal .modal-header {
    border-bottom: 0;
}

#characterModal .modal-footer,
#contentModal .modal-footer {
    border-top: 0;
}

.or_line::before {
    content: "";
    flex-grow: 1;
    margin: 0px 40px;
    background: #aaa;
    height: 0.5px;
    font-size: 0px;
    line-height: 0px;
}

.or_line::after {
    content: "";
    flex-grow: 1;
    margin: 0px 40px;
    background: #aaa;
    height: 0.5px;
    font-size: 0px;
    line-height: 0px;
}