:root {
	--txt-ttip_red: #FF6F42; 
	--txt-ttip_green: #5CD651; 
	--txt-ttip_tiffany: #58F0E7; 
	--txt-ttip_blue: #42BBFF; 
}

.dg_things_wrapper .dg_things_tabs {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding-left: 0;
}
.dg_things_tabs .dg_things_tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 173px;
    height: 47px;
    font: 700 14px / 1.6 "Roboto";
    color: #7B7B7B;
    background: url(../images/tab_bg.png);
    background-size: 100% 47px;
    background-repeat: no-repeat;
    margin: 0;
}

.dg_things_tab-link:is(.current) {
    color: #FF7B18;
}

.dg_things_tab-content {
	display: none;
}

.dg_things_tab-content:is(.current) {
	display: flex;
}

.dg_things_block {
    width: 340px;
    position: relative;
    font-size: 30px;
}

.dg_things_bkg_stack {
    width: 100%;
}

.dg_things_title_bar_bkg {
    position: relative;
    z-index: 1;
    background-image: url(../images/title_tabbar_bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 972 / 156;
}
.dg_things_title_bar_title {
    position: absolute;
    top: 59%;
    left: 50%;
    transform: translate(-50%, -3px);
    color: #000;
    font-size: 10px;
    font-family: OptimusPrinceps, FontinSmallCaps, Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.2em;
    text-shadow: 0 0 1px #000;
}
.dg_things_inventory_bkg {
    position: relative;
    margin-top: -16px;
    background-image: url(../images/dg_things_inventory_bkg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1312 / 1020;
}
.dg_things_weapon_tab_one,
.dg_things_offhand_tab_one {
    background-image: url(../images/tab_one_active.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 16%;
    left: 14.4%;
    z-index: 1000;
    width: 4.6%;
    height: 4.2%;
}
.dg_things_offhand_tab_one {
	left: 77%;
}

.dg_things_block:is(.swapped) .dg_things_weapon_tab_one,
.dg_things_block:is(.swapped) .dg_things_offhand_tab_one {
    background-image: url(../images/tab_one_inactive.webp);
}

.dg_things_weapon_tab_two,
.dg_things_offhand_tab_two {
    background-image: url(../images/tab_two_inactive.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 16%;
    left: 19.2%;
    z-index: 1000;
    width: 4.6%;
    height: 4.2%;
}
.dg_things_offhand_tab_two{
    left: 81.8%;
}

.dg_things_block:is(.swapped) .dg_things_weapon_tab_two,
.dg_things_block:is(.swapped) .dg_things_offhand_tab_two {
    background-image: url(../images/tab_two_active.webp);
}

.dg_things_tabs_nav_buttons {
    position: absolute;
    top: 4%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 45px;
    padding-left: 25px;
    padding-right: 25px;
}
.dg_things_tabs_nav_prev,
.dg_things_tabs_nav_next {
    width: 35px;
    height: 100%;
    cursor: pointer;
    background-size: 100%;
    background-repeat: no-repeat;
}
.dg_things_tabs_nav_prev {
    background-image: url(../images/prev.png);
}

.dg_things_tabs_nav_next {
    background-image: url(../images/next.png);
}


.dg_things_socket_item > .ttip_handle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
}

.dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
    position: absolute;
    inset: 0;
    background-size: contain;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: auto;
}

.dg_things_block .ttip_handle span:not(.ttip_title) {
    width: 18px;
    height: 18px;
    background-size: 18px;
    margin: 0;
}

.dg_things_slot:is(.dg_things_weapons_block, .dg_things_offhands_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
    width: 2em;
    height: 3.5em;
    background-size: contain;
}
.dg_things_slot:is(.dg_things_armors_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
    width: 2em;
    height: 2.8em;
    background-size: contain;
}
.dg_things_slot:is(.dg_things_ring_block, .dg_things_ring_two_block, .dg_things_amulets_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
    width: 1em;
    height: 1em;
    background-size: contain;
}
.dg_things_slot:is(.dg_things_helmets_block, .dg_things_gloves_block, .dg_things_shoes_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
    width: 1.8em;
    height: 1.8em;
    background-size: contain;
}
.dg_things_slot:is(.dg_things_belts_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
    width: 1.8em;
    height: 1em;
    background-size: contain;
}
.dg_things_slot:is(.dg_things_flask_one_block, .dg_things_flask_two_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
    width: 1em;
    height: 1.8em;
    background-size: contain;
}
.dg_things_slot:is(.dg_things_charm_one_block, .dg_things_charm_two_block, .dg_things_charm_three_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
    width: 1em;
    height: 1em;
    background-size: contain;
}



.dg_things_block .ttip_title {
    display: none;
}

.dg_things_slot {
	position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 3px;
}

.dg_things_helmets_block {
    left: 42.8%;
    top: 18.8%;
    width: 15.6%;
    height: 17%;
}

.dg_things_weapons_block  {
    left: 11.3%;
    top: 20.8%;
    width: 15.4%;
    height: 34.8%;
}

.dg_things_offhands_block {
    left: 74%;
    top: 20.8%;
    width: 15.4%;
    height: 34.8%;
}

.dg_things_armors_block {
	left: 42.5%;
    top: 38%;
    width: 15.6%;
    height: 26%;
}


.dg_things_amulets_block {
	left: 62.55%;
    top: 36.5%;
    width: 7.4%;
    height: 8%;
}

.dg_things_ring_block {
    left: 31.2%;
    top: 47.3%;
    width: 7.4%;
    height: 8%;
}

.dg_things_ring_two_block {
	left: 62.4%;
    top: 47.3%;
    width: 7.4%;
    height: 8%;
}

.dg_things_gloves_block {
	left: 23.4%;
    top: 58%;
    width: 15.4%;
    height: 17%;
}

.dg_things_shoes_block {
	left: 62.4%;
    top: 58%;
    width: 15.4%;
    height: 17%;
}

.dg_things_belts_block {
	left: 42.5%;
    top: 66.8%;
    width: 15.6%;
    height: 8.2%;
}

.dg_things_flask_one_block {
	left: 27.4%;
    top: 77.6%;
    width: 7%;
    height: 16.6%;
}

.dg_things_flask_two_block {
	left: 66.8%;
    top: 77.6%;
    width: 7%;
    height: 16.6%;
}

.dg_things_charm_one_block {
	left: 38.9%;
    top: 82%;
    width: 7.4%;
    height: 8%;
}

.dg_things_charm_two_block {
	left: 46%;
    top: 82%;
    width: 7.4%;
    height: 8%;
}

.dg_things_charm_three_block {
	left: 55.4%;
    top: 82%;
    width: 7.4%;
    height: 8%;
}

.dg_things_item_display {
    /* font-size: 50px; */
    position: relative;
}

.dg_things_socket_container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    display: flex;
}
.dg_things_socket_row {
    display: flex;
    flex-direction: row;
    grid-gap: .1em;
    gap: .05em;
    margin: .025em 0;
}

.dg_things_socket_item {
	cursor: pointer;
    /* position: relative; */
    width: .4em;
    height: .4em;
    background-image: url(../images/runes.png);
    background-size: auto 100%;
}

.dg_things_wrapper {
    max-width: 440px;
    background-color: #0B090C;
    padding: 10px;
}

.dg_things_sec {
    display: flex;
    gap: 15px;
    background-color: #0B090C;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .dg_things_block {
        width: 410px;
    }
    .dg_things_socket_item {
        width: .4em;
        height: .4em;
    }
	.dg_things_title_bar_title {
		font-size: 12px;
	}
    /* .dg_things_block .ttip_handle span:not(.ttip_title) {
        width: 24px;
        height: 24px;
        background-size: 30px;
    } */
    .dg_things_slot:is(.dg_things_weapons_block, .dg_things_offhands_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
        width: 2.2em;
        height: 5em;
        background-size: 100%;
    }
    .dg_things_slot:is(.dg_things_armors_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
        width: 2.2em;
        height: 3.5em;
        background-size: 100%;
    }
    .dg_things_slot:is(.dg_things_ring_block, .dg_things_ring_two_block, .dg_things_amulets_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
        width: 1.2em;
        height: 1.6em;
        background-size: 100%;
    }
    .dg_things_slot:is(.dg_things_helmets_block, .dg_things_gloves_block, .dg_things_shoes_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
        width: 2.2em;
        height: 2.2em;
        background-size: 100%;
    }
    .dg_things_slot:is(.dg_things_belts_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
        width: 2.2em;
        height: 1.8em;
        background-size: 100%;
    }
    .dg_things_slot:is(.dg_things_flask_one_block, .dg_things_flask_two_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
        width: 1.2em;
        height: 2em;
        background-size: 100%;
    }
    .dg_things_slot:is(.dg_things_charm_one_block, .dg_things_charm_two_block, .dg_things_charm_three_block) .dg_things_socket_main_item .ttip_show > span:not(.ttip_title) {
        width: 1.5em;
        height: 1.5em;
        background-size: 100%;
    }
    .dg_things_wrapper {
        background-color: #0B090C;
        padding: 15px;
    }
     .txt_near_things {
        margin-top: 60px;
    }
}

@media(max-width: 1500px) {
    .dg_things_sec {
        flex-wrap: wrap;
    }
}

@media(max-width: 768px) {
    .dg_things_sec {
        flex-wrap: wrap;
    }
    .txt_near_things {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 480px) {
    .dg_things_weapon_tab_one, .dg_things_offhand_tab_one,
    .dg_things_weapon_tab_two, .dg_things_offhand_tab_two {
        top: 15.5%;
    }
    .dg_things_wrapper .dg_things_tabs {
        gap: 5px;
    }
    .dg_things_tabs .dg_things_tab-link {
        width: 110px;
        font-size: 12px;
    }
    .dg_things_tabs_nav_buttons {
        top: 2%;
        height: 35px;
        padding-right: 0;
        padding-left: 0;
    }
    .dg_things_tabs_nav_prev,
    .dg_things_tabs_nav_next {
        width: 34px;
    }
}
