body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 100;
}

#auth_block {
    margin-top: 16%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#auth_block h2 {
    text-align: center;
    margin-bottom: 5%;
}

#auth_block input {
    margin-bottom: 10px;
    padding: 6px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 100;
    font-size: 17px;
}

fieldset {
    width: 90%;
    margin: 0 auto;
}

button {
    font-weight: 100;
    font-family: system-ui;
    padding: 8px 15px;
    background-color: #FF9800;
    border: none;
    cursor: pointer;
}

#clean_form {
    float: right;
}

.ov_block input {
    padding: 5px 7px;
    width: 85%;
    background-color: #efefef;
}

#text {
    width: 98%;
    background-color: #efefef;
    padding: 10px;
    margin-bottom: 50px;
}

#txt_name {
    margin: 30px 0 0 10px;
    position: relative;
}

#txt_name .tab {
    padding: 5px 20px 0 20px;
    border: 1px black solid;
    border-bottom: none;
    border-radius: 6px 0 0 0;
    background-color: #bdbdbd;
    cursor: pointer;
    font-weight: 400;
}

#txt_name .selected_tab {
    border-bottom: 3px #efefef solid;
    background-color: #efefef;
    cursor: default;
    font-weight: 800;
}

.gallery_file_loader {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.gallery_file_loader input {
    margin-left: 20px;
    padding: 6px;
}

.media_cap {
    margin: 0;
}

#buttons {
    display: flex;
    justify-content: flex-end; 
    margin-bottom: 0;
}

.input_block {
    display: block;
    margin: 30px 10px 0 10px;
    border-bottom: 1px solid #909090;
}

.des_box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.des_box p {
    margin: 0;
}

.des_box input {
    padding: 5px 7px;
    width: 85%;
    background-color: #efefef;
    border: silver 0.5px solid;
    border-bottom: none;
}

.lang_tab {
    display: flex;
    width: max-content;
    margin: 0 0 0px auto;
    position: relative;
    top: 1px;
}

.lang_tab p {
    padding: 0 20px 0 20px;
    border: 1px silver solid;
    border-bottom: none;
    border-radius: 6px 0 0 0;
    background-color: #d2d2d2;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.lang_tab .sel {
    background-color: #efefef;
    border-bottom: 2px solid #efefef;
}

.ov {
    height: 100%;
    width: 100%;
    position: fixed;
    background-color: white;
    top: 0;
    left: 0;
    z-index: 500;
}

.title_bar {
    display: flex;
    background-color: #FF9800;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

.title_bar p {
    margin: 0;
    font-weight: 500;
}

.title_bar img {
    width: 30px;
}

.frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 98%;
    height: 91%;
    margin: 0 auto;
    padding: 10px;
}

.frame img {
    border-radius: 10px;
}

#c1 {
    height: 0;
    overflow: visible;
    margin: 0;
    top: -60px;
    position: relative;
    border: none;
    width: 98%;
    left: 50%;
    transform: translate(-50%, 0);
}

#gallery_tn_box, #video_tn_box {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    margin-top: 20px;
    flex-wrap: wrap;
}

.thumbnail_box {
    width: var(--frame_size);
    height: var(--frame_size);
    background-color: #0606062b;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1px;
}

.gallery_img_thumbnails {
    max-width: var(--tn_size);
    max-height: var(--tn_size);
}

.invisible {
    width: 0;
    height: 0;
    overflow: visible;
    position: relative;
}

.gallery_x_imge {
    width: 30px;
    border: 1px solid black;
    cursor: pointer;
    background-color: #FF9800;
    position: relative;
    z-index: 1;
    transform: translate(-100%, 0);
}

#item_list {
    max-height: 326px;
    overflow-y: auto;
}

.item_box {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: silver 1px solid;
    cursor: pointer;
}

.item_img_box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #efefef;
    width: 150px;
    height: 150px;
}

.item_img_box img {
    max-width: 145px;
    max-height: 145px;
}

.item_info {
    width: 78%;
    margin-left: 3%;
}

.item_title {
    font-size: 30px;
    margin: 5px 0;
    font-weight: 700;
}

.item_box:hover {
    background-color: rgba(6, 6, 6, 0.17);
}

.checkbox_invert {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
}

.blog_des {
    font-style: italic;
    margin-bottom: 30px;
}

#item_setting {
    margin-top: 150px;
}

@media (max-width: 800px) {
    .item_title {
        line-height: 1;
        font-size: 24px;
    }
}