#swc_drawing {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 12px;
    overflow: hidden;
}
/*
#swc_wrap {
    position: absolute;
    overflow: hidden;
}
*/
.svc_svg {
    position: relative;
    z-index: 1;
    /* background-color: #fff; */
}
.z_ind_10 {
    z-index: 10;
}

.dim_text:hover {
    font-weight: bold;
    cursor: pointer;
}

.link_text:hover {
    font-weight: bold;
}

.swrd_name {
    cursor: pointer;
}

.swrd_name:hover {
    font-style: oblique;
}

.wrp_menu {
    position: absolute;
    left: 10px;
    top: 15px;
}

.wrp_menu_settings {
}

.mnu_button {
    display: inline-block;
    padding: 5px;
    margin: 10px 10px;
    border: #999999 1px solid;
    border-radius: 5px;
    background-color: #eee;
    font-weight: bold;
    font-size: 14px;
}

.mnu_button:hover {
    cursor: pointer;
    background-color: #fff;
}

.hide_button {
    display: inline-block;
    position: absolute;
    background-color: #eff;
    width: 40px;
    height: 40px;
}

#hide_button_clear {
    left: 0;
    bottom: 0;
    border-radius: 0 40px 0 0;
}

#hide_button_save {
    right: 0;
    bottom: 0;
    border-radius: 40px 0 0 0;
}

.modal_hdr {
    display: inline-block;
    padding: 5px;
    margin: 10px 10px;
    color: #888;
    font-weight: bold;
    font-size: 32px;
}

.wrp_extra {
    position: absolute;
    right: 10px;
    top: 15px;
}

.extra_elements {
    position: relative;
    display: inline-block;
    margin: 0 10px;
    border: #999999 1px solid;
    border-radius: 5px;
    background-color: #eee;
    width: 72px;
    height: 108px;
    overflow: hidden;
    /*
    font-weight: bold;
    font-size: 14px;
    */
}
/* поворот фоновой картинки */
.extra_elements div {
    content: "";
    position: absolute;
    top: 17%;
    left: -25%;
    width: 150%;
    height: 66.7%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#extra_guard div {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  /*  background-image: url("../img/guard/20.jpg"); */
}
#extra_pommel div {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.modal_wind {
    overflow: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(200, 200, 200, .9);
    display: none;
}
#sel_model_wind, #sel_saved_model_wind {
    padding-top: 60px;
}

.settings_menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    background-color: rgba(200, 200, 200, .9);
}

#settings_table {
    margin: 70px 5px;
    width: calc(100% - 10px);
}

#settings_table tr {
    border-top: #666666 2px solid;
}

#settings_table th {
    font-size: 30px;
    text-align: left;
    width: 180px;
    padding: 5px;
}

.settings_item, .subset_item {
    display: inline-block;
    margin: 15px;
    padding: 5px;
    background-color: #eee;
    border: 3px solid #eee;
    border-radius: 5px;
    cursor: pointer;
}

.settings_item:hover, .subset_item:hover {
    border-color: #9d0215 !important;
}

.settings_item_sel, .subset_item_sel {
    border-color: #f00;
    background-color: #ffffff;
}

.settings_txtitem {
    float: left;
    padding: 5px;
    font-size: 40px;
    font-weight: bold;
}

.settings_subitem {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}

.subitem_pommel {
    width: 120px;
    height: 80px;
}

.subitem_grip {
    width: 130px;
    height: 70px;
}

.subitem_fuller {
    width: 120px;
    height: 60px;
}

.subitem_blade {
    width: 120px;
    height: 60px;
}

.subitem_guard {
    width: 150px;
    height: 100px;
}

.subset_fuller {
    font-size: 26px;
}
.subset_fuller div {
    display: inline-block;
}

.subset_name {
    width: 270px;
}
.subset_item {
    font-size: 40px;
    font-weight: bold;
}

#edit_wind, #edit_name_wind {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(200, 200, 200, .5);
    display: none;
}

#edit_wrap, #edit_name_wrap {
    display: inline-block;
    position: absolute;
    padding: 15px;
    background-color: #cfdcee;
    border: 2px solid #2019b9;
    border-radius: 5px;
}

#edit_val {
    display: inline-block;
    width: 100px;
    font-size: 40px;
    text-align: center;
}

#edit_range {
    width: 100%;
    color: #0000ae;
}

.edit_min_max {
    display: inline-block;
    position: absolute;
    font-size: 16px;
    padding: 2px;
    bottom: 0;
}

#edit_min {
    left: 0;
}

#edit_max {
    right: 0;
}

#edit_name_val {
    display: inline-block;
    width: 50vw;
    font-size: 30px;
    text-align: center;
}

.sel_model_item {
    margin: 15px;
    padding: 15px;
    border: 2px solid #777;
    border-radius: 5px;
    font-size: 40px;
    background-color: #eee;
    cursor: pointer;
}
.sel_model_item:hover {
    background-color: #fff;
}
.sel_model_item img {
    border: 2px solid #f5f5f5;
    border-radius: 5px;
}
.saved_model_item {
    display: inline-block;
}

@media all and (max-width: 800px) {
    .sel_model_item img {
        width: 90%;
    }
}