.shemsh_main_gold_table .tgju-widget.tgju-widget-box {
    border-radius: 13px !important;
}
.shemsh_main_gold_table_inner {
    border: 1px solid #ECEFF1;
    background-color: #FFFFFF;
    border-radius: 13px;
    position: relative;
    max-width: 600px;
}
.shemsh_main_gold_current_price{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    width: 40%;
    border: 1px solid #ECEFF1;
    background-color: #FFFFFF;
    border-radius: 13px;
    padding: 15px;
    text-align: center;
}
.shemsh_main_gold_current_price p{
    font-size: 12px;
    margin-bottom: 0;
    color: #646464;
}
.shemsh_main_gold_current_price .current_price_p{
    font-weight: 800;
    color: #000000;
    font-size: 17px;
    margin-bottom: 10px;
}
.shemsh_main_gold_table .d-flex,.shemsh_main_gold_buy_gold .d-flex{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.shemsh_main_gold_table .justify-content-between,.shemsh_main_gold_buy_gold .justify-content-between{
    justify-content: space-between;
}
.shemsh_main_gold_table_inner_tabs {
    padding: 15px 25px;
    display:flex;
    justify-content: space-between;
    flex-direction: row;
}

.shemsh_main_gold_table_inner_tabs button {
    border: 1px solid #ECEFF1;
    text-decoration: none;
    background-color: #FFFFFF;
    color: #6C757D;
    font-size: 14px;
    padding: 8px;
    border-radius: 6px;
    transition: all ease-in-out 0.3s;
    cursor: pointer;
}

.shemsh_main_gold_table_inner_tabs button:hover, .shemsh_main_gold_table_inner_tabs button.active {
    color: #FFFFFF;
    background-color: #0CBDB1;
}

.shemsh_main_gold_table_inner_prices {
    padding: 15px 25px;
}

.shemsh_main_gold_table_inner_prices > div {
    text-align: center;
}

.shemsh_main_gold_table_inner_prices p {
    color: #6C757D;
    font-weight: 300;
    font-size: 14px;
}

.shemsh_main_gold_table_inner strong {
    color: #343A40;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}
.shemsh_main_gold_table_inner .price_changes strong{
    direction: ltr;
}
.shemsh_main_gold_table_inner .price_changes strong.positive {
    color: #26C56A;
}

.shemsh_main_gold_table_inner .price_changes strong.negative {
    color: #FF7354;
}

.shemsh_main_gold_table_inner canvas, .shemsh_main_gold_table_inner strong {
    display: none !important;
}

.shemsh_main_gold_table_inner canvas.active, .shemsh_main_gold_table_inner strong.active {
    display: block !important;
}
.shemsh_main_gold_table_chart_canvas{
    width: 60%;
}

/******************/
.shemsh_main_gold_buy_gold{
    border: 1px solid #ECEFF1;
    background-color: #FFFFFF;
    border-radius: 13px;
    padding: 15px;
}
.nirweb_gold_price_buy_fields{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    width: 70%;
    justify-content: start;
}

.nirweb_gold_price_buy_fields.type_sell{
    flex-direction: row-reverse;
}
.nirweb_gold_price_buy_fields input{
    border: 1px solid #ECEFF1 !important;
    background-color: #FFFFFF !important;
    border-radius: 6px !important;
    height: 48px !important;
    padding: 5px 10px !important;
width: 100%;
}
.nirweb_gold_price_buy_label{
    width: 45% !important;
    position: relative;
}
.nirweb_gold_price_buy_label span{
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}
#nirweb_gold_price_buy_btn{
    padding: 7px 20px;
    border-radius: 6px;
    background: #2ab272;
    color: #ffffff;
    text-decoration: none;
    width: 30%;
    max-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    height:48px;
}
#nirweb_gold_price_buy_btn.sell{
    background: #b22a2a;
}
.shemsh_switch_buy_gold{
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.shemsh_switch_item{
    padding: 5px 15px;
    font-weight: 500;
    font-size: 17px;
    border-bottom: none;
    color: #1b1b1b;
    transition: all 0.2s linear;
}
.shemsh_switch_item.active{
    border-bottom: solid 2px #2ab272;
    color: #2ab272;
}
.shemsh_switch_item.active:last-child{
    border-bottom: solid 2px #b22a2a;
    color: #b22a2a;
}
#nirweb_gold_price_buy_btn.type_sell{
    background: #b22a2a;
}
@media (max-width: 790px ) {
    .nirweb_gold_price_buy_label{
        width: 100% !important;
    }
    .nirweb_gold_price_buy_fields{
        width: 100%;
    }
    #nirweb_gold_price_buy_btn{
        margin-top: 15px;
    }
    .nirweb_gold_price_buy_fields.type_sell{
        flex-direction: column-reverse;
    }
    .shemsh_main_gold_current_price{
        left: -10px;
    }
}
