#auth_block h2 {
    font-family: system-ui;
    font-size: 39px;
    text-align: center;
    margin-bottom: 30px;
    margin-left: 0;
}

.auth img {
    cursor: pointer;
    width: 41px;
    padding: 0 8px;
    border: black 1px solid;
    background-color:#56d5e7;
}

.auth #see {
    padding: 7px 8px;
}

#item_setting, #item_list {
    width: 80%;
    backdrop-filter: blur(5px);
    margin: 0 auto;
    font-family: Island, Arial;
    color: var(--island);
    padding: 15px;
}

fieldset button {
    float: right;
    font-family: Island, Arial;
    padding: 10px;
    color: white;
    background-color: var(--island);
    font-size: 16px;
    cursor: pointer;
}

.rose_select {
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--island);
    color: white;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 180px;
}

.but1 {
    width: 21px;
    filter: invert(1);
    transform: rotate(180deg);
}

.menu_input {
    font-family: Island, Arial;
    font-size: 16px;
}

.list {
    overflow-y: auto;
    color: black;
    background-color: #56d5e7;
    border: var(--island) 1px solid;
    padding: 5px;
}

.list_entry {
    margin: 5px 0;
    padding: 10px;
    font-family: Island, Arial;
}

.list_entry:hover {
    background-color: #ffffff6e;
}

#gallery_info {
    display: block;
    padding: 10px;
    border: var(--island) 1px solid;
}

#gallery_info img {
    max-width: 64px;
    max-height: 150px;
    float: left;
    opacity: 0.5;
    margin-right: 11px;
}

#gallery_info p {
    text-align: justify;
    line-height: 1.2;
    padding: 10px 10px 0 0;
    font-size: 19px;
    font-weight: 400;
    margin-top: 0;
    font-family: Island, Arial;
    color: var(--island);
}

.preview {
    max-width: var(--big_frame_img);
    max-height: var(--big_frame_img);
}

#photo_caption, #video_caption {
    padding: 5px;
    text-align: start;
    width: 97%;
}

.thumbnail_box {
    width: var(--frame_size);
    height: var(--frame_size);
    background-color: #0606062b;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery_img_thumbnails {
    max-width: var(--tn_size);
    max-height: var(--tn_size);
}

.gallery_x_imge {
    width: 30px;
    border: 1px solid black;
    cursor: pointer;
    background-color: #f4433670;
    position: relative;
    z-index: 1;
}

.gallery_file_loader, #video_loader {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-top: 50px;
}

#g_vid {
    width: 45%;
}

#g_info {
    width: 50%;
}

#gallery_tn_box, #video_tn_box {
    display: none;
    width: 100%;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
}

.item_img_box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(6, 6, 6, 0.17);
    width: 150px;
    height: 150px;
}

.item_img_box img {
    max-width: 145px;
    max-height: 145px;
}

.item_p_box {
    display: flex;
    justify-content: flex-end;
}

.item_p_box p {
    width: 50%;
    text-wrap-mode: nowrap;
}

.item_p_box p span, .price_num span {
    font-weight: 800;
}


.item_box {
    display: flex;
    align-items: flex-start;
}

.item_info {
    width: 75%;
    margin-left: 3%;
}

.item_title {
    font-size: 30px;
    margin: 5px 0;
    font-family: Island_bold, Arial;
}

#item_list {
    max-height: 326px;
    overflow-y: auto;
}

.item_box:hover {
    background-color: rgba(6, 6, 6, 0.17);
}

textarea {
    font-family: Island, Arial;
    font-size: 16px;
}

.disabled_button {
    display: block;
    background-color: grey;
    color: silver;
    cursor: default;
}

#buttons {
    display: flex;
    justify-content: flex-end;
}

#auth_block {
    display: flex;
    margin: 100px auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth input {
    font-size: 18px;
    padding: 8px;
    font-family: Island, Arial;
    width: 100%;
}

.half {
    width: max-content;
    padding: 12px;
    margin: 0 0 10px auto;
    justify-content: flex-end;
}

.ov_block p {
    margin: 0 30px 0 0;
}

#ep_box, #price_group {
    display: flex; width: 45%; align-items: center; justify-content: space-between;
}

.media_cap {
    margin: 55px 0 8px 10px;
}

.item_price {
    text-align: end;
}

.checkbox_invert {
    display: flex;
    justify-content: flex-start;
    margin: 20px 0;
    flex-direction: row-reverse;
}

.checkbox_invert input {
    margin: 2px 0 0 10px;
    width: 20px;
}
.checkbox input {
    margin: 2px 10px 4px 0;
    width: 20px;
}

#txt_name .tab {
    padding: 5px 20px 0 20px;
    border: 1px black solid;
    border-bottom: none;
    border-radius: 0 6px 0 0;
    background-color: #dcdcdc;
    cursor: pointer;
    font-weight: 400;
}

#txt_name .selected_tab {
    border-bottom: 1px white solid;
    background-color: white;
    cursor: default;
    font-weight: 800;
}

#item_description {
    width: 98%; display: block; text-align: justify; margin: 0 auto;
}

#long {
    border: var(--island) 1px solid;
}

.auth_menu {
    display: block;
    position: static;
    margin-top: 20px;
    transform: none;
}

.auth_menu p {
    font-family: Island, system-ui;
    margin: 20px 0;
    cursor: pointer;
    background-color: var(--island);
    padding: 11px 15px;
    border-radius: unset;
    text-align: center;
    color: white;
}

#s_logo {
    max-width: 150px;
    max-height: 60px;
    margin-bottom: -9px;
    cursor: pointer;
}

.lose {
    cursor: pointer;
    text-align: end;
    margin-right: 30px;
    font-family: Island, Arial;
    color: var(--island);
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
}

#cs_window {
    position: fixed;
    width: 392px;
    height: 400px;
    transform: translate(-50%, 55%);
    flex-direction: column;
    border-radius: 7px;
    padding-bottom: 8px;
    left: 50%;
}

#csx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #56d5e7;
    padding: 3px;
}

#cs, #x {
    width: 30px;
}

#x {
    padding: 2px;
    cursor: pointer;
}

#user_input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
    border: #56d5e7 1px solid;
    border-radius: 6px;
    width: 91%;
    margin: 0 auto;
}

#user_enter {
    width: 39px;
    filter: invert(1);
    margin-right: -5px;
    cursor: pointer;
}

#user_input input {
    width: 85%;
    padding: 5px;
    font-family: Island, Arial;
}

#dialogue {
    height: 79%;
    margin: 5px 8px 5px 9px;
    border-radius: 6px;
    background-color: #f5f5f599;
    color: black;
    padding: 5px;
    overflow-y: auto;
}
.cs {
    margin: 0;
    font-weight: 600;
    font-size: 13px;
    font-style: italic;
    text-align: justify;
    border-radius: 5px;
    background-color: whitesmoke;
    padding: 7px;
    min-height: 16px;
    margin-bottom: 2px;
}

.cs strong {
    font-family: 'Island';
    font-weight: 900;
    color:darkblue;
}

#qc {
    width: 150px;
    display: block;
    margin: 5px auto;
}

#dialogue #wt {
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    cursor: pointer;
}

#new_item, #reset {
    font-family: Island, Arial;
    padding: 10px;
    color: white;
    background-color: var(--island);
    font-size: 16px;
    cursor: pointer;
    margin: 20px;
}

.des_box button, #frame_ctrl button {
    font-family: Island, Arial;
    padding: 8px;
    color: white;
    background-color: #FF5722;
    font-size: 16px;
    cursor: pointer;
    border: unset;
    width: max-content;
}

.editable {
    cursor: pointer;
    border: #FF5722 1px dashed;
}

#menu_hp {
    width: 57px;
    filter: invert(1);
    margin-bottom: -9px;
    opacity: 0.1;
    margin-right: 20px;
}

#menu {
    width: max-content;
    position: relative;
}

.des_box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.des_box input {
    padding: 5px 7px;
    width: 77%;
    background-color: #efefef;
    border: silver 0.5px solid;
}

.frame {
    width: var(--frame_size);
    height: var(--frame_size);
}

#title_img {
    max-height: 98%;
}

#map_ctrl {
    background-color: #0a0a0a3d;
    backdrop-filter: blur(2px);
    padding: 10px;
}

#map_ctrl div {
    padding: 10px;
    margin: 5px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

#map_ctrl p {
    color: white;
}

.small_map_ctrl {
    display: flex;
    justify-content: center;
    align-items: center;
}

#te {
    position: fixed;
    background-color: #00000059;
    backdrop-filter: blur(2px);
    padding: 10px;
    box-shadow: -1px -1px 13px #010101;
    border: white 1px solid;
    z-index: 100;
}

.te_group {
    display: flex;
    justify-content: space-between;
}

#te p {
    font-family: Island, Arial, Helvetica, sans-serif;
    padding: 10px;
    margin: 5px;
    border: white 1px solid;
    background-color: #d4d4d4;
    text-align: center;
    cursor: pointer;
}

.te_group svg {
    margin: 5px;
    cursor: pointer;
}

.lang {
    font-weight: 800;
    font-family: Island, arial;
    font-size: 20px;
    margin: 0;
    color: white;
    text-decoration: unset;
    margin-right: 30px;
    cursor: pointer;
}

#cur {
    animation: blink 1s step-start infinite;
    font-weight: 100;
}
@keyframes blink {
    50% { opacity: 0; }
}

@media (max-width: 800px) {
    #cs_window {
        width: 320px;
        height: 420px;
        border-radius: 7px;
        padding-bottom: 8px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 16%);
    }

    #s_logo {
        max-width: 154px;
        max-height: 50px;
    }
    .auth_menu p {
        font-family: Island, system-ui;
        margin: 20px 0;
        cursor: pointer;
        background-color: #7fff0099;
        padding: 11px 15px;
        border-radius: unset;
        text-align: center;
    }
    #auth_id, #auth_ru {
        transform: none;
    }
    .auth_menu {
        display: block;
        position: static;
        margin-top: 20px;
        transform: none;
    }
    #long {
        margin-right: 10px;
    }
    #item_description {
        width: 96%; 
        font-size: 15px;
        padding: 0 5px;
    }
    #txt_name .tab {
        padding: 5px 15px 0 15px;
    }
    .checkbox_invert input {
        margin: 2px 0 0 10px;
        width: 20px;
    }
    .checkbox input {
        margin: 2px 10px 0 0;
        width: 20px;
    }
    .checkbox_invert {
        display: flex;
        justify-content: flex-start;
        margin: unset;
        flex-direction: row-reverse;
        width: 100%;
    }
    .item_img_box img {
        max-width: 90%;
        max-height: 185px;
    }
    .item_img_box {
        display: flex;
        align-items: center;
        background-color: rgba(6, 6, 6, 0.17);
        width: 100%;
        height: 194px;
        justify-content: center;
    }
    .item_p_box p {
        width: 100%;
    }
    .item_p_box {
        display: block;
    }
    .item_p_box {
        display: block;
    }
    #item_list {
        max-height: 433px;
        overflow-y: auto;
    }
    .item_info {
        width: 100%;
        margin-left: 0%;
    }
    .item_price {
        text-align: start;
    }
    #item_setting, #item_list {
        width: 94%;
        padding: 5px;
        margin: 0px auto;
    }
    .item_box {
        flex-direction: column-reverse;
        align-items: flex-end;
    }
    .hp {
        display: none;
    }
    #gallery_info p {
        font-size: 13px;
    }
    #photo_caption, #video_caption {
        margin-bottom: 20px;
        width: 96%;
    }
    .media_cap {
        margin: 20px 0 8px 10px;
    }
    #g_img, #g_vid {
        width: unset;
        display: none;
    }
    #g_info {
        width: unset;
    }
    .gallery_file_loader, #video_loader {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    #ep_div {
        display: block;
    }
    #ep_box {
        width: unset;
    }

    .auth #see {
        padding: 7px 8px;
    }
    fieldset button {
        float: unset;
    }
    fieldset button {
        float: unset;
        padding: 10px;
        font-size: 16px;
        margin: 10px 0 10px auto;
        display: block;
        width: unset;
    }
    .form_sub_title {
        text-align: start;
        margin: 10px 0;
        font-size: 19px;
    }
    .half {
        width: unset;
    }
    #price_group {
        display: flex;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--island);
        width: unset;
    }
}