#fgo_servant_craft_checker *,
#pop_up_favorite_container *{
    box-sizing: border-box;
}
.mobile .swal-overlay--show-modal .swal-modal{
    width: calc(100% - 40px) !important;
}
.swal-overlay--show-modal .swal-modal{
    position: relative;
    vertical-align: top;
    margin-top: 40px;
}
.swal-overlay.swal-overlay--show-modal{
    z-index: 99999999;
}
.swal-overlay--show-modal .swal-modal .swal-content{
    padding: 34px 0 0 0;
    margin: 0px 5px 10px 5px;
    overflow: hidden;
}
.swal-overlay--show-modal .swal-modal .swal-footer{
    margin: 0;
    padding: 0;
    position: absolute;
    top: -10px;
    right: -10px;
}
.swal-overlay--show-modal .swal-modal .swal-footer .swal-button-container{
    margin: 0;
    display: block;
    position: static;
}
.swal-overlay--show-modal .swal-modal .swal-footer .swal-button-container .swal-button.swal-button--cancel{
    color: #2c4b91;
    border: 4px solid #2c4b91;
    line-height: 1;
    padding: 0;
    margin: 0;
    width: 35px;
    height: 35px;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 0;
}
.swal-overlay--show-modal .swal-modal .swal-footer .swal-button-container .swal-button.swal-button--confirm{
    position: absolute;
    bottom: calc(-65vh - 105px);
    right: 10px;
    width: 10em;
    height: 40px;
    margin: 0;
    padding: 0;
    line-height: 1;
    background: linear-gradient(to right, rgba(26,46,89,1) 0%,rgba(54,85,151,1) 100%);
    text-shadow: 1px 1px 4px #000000;
    border: 3px solid #ffbc00;
    border-radius: 15px;
    font-size: 15px;
    box-sizing: border-box;
}
#pop_up_favorite_container{
    display: none;
    position: relative;
    padding-bottom: 36px;
}
#pop_up_favorite_container .select_current_all{
    position: absolute;
    top: -26px;
    left: 0;
    display: flex;
}
#pop_up_favorite_container .select_current_all button{
    font-size: 11px;
    line-height: 1.5;
    font-weight: bold;
    border: none;
    width: 6em;
    border-radius: 5px;
    margin-right: 0.3em;
}
#pop_up_favorite_container .select_current_all button[data-action="switch"]{
    background: linear-gradient(120deg, #2c4b91 0%, #2c4b91 50%, #87acff 50%, #87acff 100%);
    color: white;
}
#pop_up_favorite_container .select_current_all button[data-action="checked"]{
    background: #2c4b91;
    color: white;
}
#pop_up_favorite_container .select_current_all button[data-action="hide"]{
    background: #87acff;
    color: white;
}
#pop_up_favorite_container .select_current_all button[data-action="none"]{
    border: 2px solid #2c4b91;
    background: #f1f5ff;
    color: #2c4b91;
}
#pop_up_favorite_container .favorite_container{
    height: 65vh;
    overflow-y: scroll;
    margin-bottom: 5px;
}
#pop_up_favorite_container .favorite_container ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    width: 100%;
}

#pop_up_favorite_container .favorite_container li.item_container{
    padding: 2px;
    cursor: pointer;
    margin: 2px;
    font-size: 10px;
    line-height: 1;
    font-weight: bold;
    width: calc(100% / 8 - 4px);
}
.mobile #pop_up_favorite_container .favorite_container li.item_container{
    width: calc(100% / 6 - 4px);
    max-width: 86px;
}
#pop_up_favorite_container .favorite_container li.item_container[data-used="true"]{
    display: none !important;
}

#pop_up_favorite_container .favorite_container li.no_result_dom{
    display: none;
    width: 100%;
    font-size: 15px;
}
#pop_up_favorite_container .favorite_container li img{
    width: 100%;
}
#pop_up_favorite_container .favorite_container li span{
    display: block;
    font-size: 10px;
    font-weight: bold;
    line-height: 2;
}
#pop_up_favorite_container .filter_dom{
    position: absolute;
    top: calc(65vh + 5px);
    width: 100%;
    background: white;
    overflow: hidden;
}
#pop_up_favorite_container .filter_dom .filter_table{
    margin-bottom: 0px;
}
#pop_up_favorite_container .filter_dom .filter_switch_button{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 2.8;
    font-size: 13px;
    background: #2c4b91;
    border: none;
    border-bottom: 2px solid white;
    color: #ffffff;
    font-weight: bold;
    overflow: hidden;
}
#pop_up_favorite_container .filter_dom .filter_switch_button div{
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: none;
}
#pop_up_favorite_container .filter_dom .filter_switch_button span{
    transition: transform 0.3s;
    position: absolute;
    right: calc(50% - 7em);
    top: 0;
    bottom: 0;
    margin: auto;
    line-height: 1;
    height: fit-content;
}
#pop_up_favorite_container .filter_table tr th{
    background: #2c4b91;
    color: white !important;
    position: relative;
    overflow: hidden;
    border: none;
    border-right: none;
    font-size: 12px;
    padding: 0;
    width: 6.5em;
}
#pop_up_favorite_container .filter_table tr td{
    padding: 2px 4px;
}
#pop_up_favorite_container .filter_table .filter_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}
#pop_up_favorite_container .filter_table .filter_container li{
    border: 2px solid #f6f6f6;
    border-radius: 10px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 2;
    margin: 3px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: calc(100% / 6 - 6px);
}
.mobile #pop_up_favorite_container .filter_table .filter_container li{
    width: calc(100% / 3 - 6px);
}
#pop_up_favorite_container .filter_dom[data-type="servant"] .filter_table .filter_container[data-filter_item="class_2"] li{
    width: calc(100% / 8 - 6px);
}
.mobile #pop_up_favorite_container .filter_dom[data-type="servant"] .filter_table .filter_container[data-filter_item="class_2"] li{
    width: calc(100% / 5 - 6px);
}
#pop_up_favorite_container .filter_dom[data-type="craft"] .filter_table .filter_container[data-filter_item="effect"] li{
    width: calc(100% / 2 - 6px);
}
#pop_up_favorite_container .filter_dom[data-type="craft"] .filter_table .filter_container[data-filter_item="rarity"] li{
    width: calc(100% / 5 - 6px);
}
#pop_up_favorite_container .filter_table .filter_container li[data-checked="checked"]{
    border: 2px solid #2c4b91;
    background: #2c4b91;
    color: #ffffff;
}
#pop_up_favorite_container .filter_table .filter_container li img{
    width: calc(100% - 6px);
    margin: 3px;
}


#fgo_servant_craft_checker .attr_container {
    display: none;
}
#fgo_servant_craft_checker .result_container .send_img_to_comment{
    width: 85%;
    min-width: 300px;
    cursor: pointer;
    font-weight: bold;
    margin: 15px auto;
    font-size: 14px;
    line-height: 1;
    padding: 13px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: white;
    border: 2px solid #2c74d6;
    color: #2c74d6;
}
#fgo_servant_craft_checker .result_container .send_img_to_comment:hover{
    color: white;
    background: #2c74d6;
}
#fgo_servant_craft_checker .result_container .send_img_to_comment > i{
    font-size: 20px;
    margin-right: 10px;
}
#save_img_info{
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-weight: bold;
}

#fgo_servant_craft_checker .data_input_table td.wave_box{
    text-align: center;
    font-weight: bold;
}
#fgo_servant_craft_checker .data_input_table td.wave_box img{
    width: 50px;
    height: 50px;
    margin: auto;
}
#fgo_servant_craft_checker .data_input_table td.wave_box > div > span{
    font-size: calc(1em + 2px);
    margin-right: 2px;
}
#fgo_servant_craft_checker .data_input_table td[data-wave_order="2"],
#fgo_servant_craft_checker .data_input_table td[data-wave_order="4"],
#fgo_servant_craft_checker .data_input_table td[data-wave_order="6"],
#fgo_servant_craft_checker .data_input_table td[data-wave_order="8"],
#fgo_servant_craft_checker .data_input_table td[data-wave_order="10"]{
    background-color: #2c4b9110;
}



#fgo_servant_craft_checker .data_input_table .servant_craft_box{
    width: 50px;
    height: 50px;
    margin: auto;
    cursor: pointer;
}
#fgo_servant_craft_checker .data_input_table .servant_craft_box[data-type="craft"]{
    width: 40px;
    height: 40px;
}
#fgo_servant_craft_checker .data_input_table .servant_craft_box img{
    margin: 0;
    height: 100%;
    width: 100%;
}
#fgo_servant_craft_checker .data_input_table .servant_craft_box span{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #2c4378;
    background-color: #ffffff;
    border-radius: 10px;
    font-size: 20px;
    width: 100%;
    height: 100%;
}
#fgo_servant_craft_checker .data_input_table .servant_craft_box[data-type="craft"] span{
    border: 1px dashed #ea553a;
}
#fgo_servant_craft_checker .data_input_table .servant_craft_box span:before{
    content: "\f067";
    font-family: FontAwesome;
    color: #2c4378;
}
#fgo_servant_craft_checker .data_input_table .servant_craft_box[data-type="craft"] span:before{
    color: #ea553a;

}