.dt-disable-day {
    color: #d8d8d8;
    cursor: not-allowed;
}

#delivery_date_field.not-validate table {
    border: 1px solid #b20000;
    color: #b20000;
    border-left: none;
}

#delivery_date_field table.delivery_dates {
    border: 1px solid #ececec;
}
#delivery_date_field table.delivery_dates td {
    padding: 0;
    border-left: 1px solid #ececec;
}
#delivery_date_field table.delivery_dates th {
    border-left: 1px solid #ececec;
    display: table-cell !important;
}
#delivery_date_field table.delivery_dates td input[type="radio"] {
    position: absolute;
    margin: 0;
    display: none;
}
#delivery_date_field table.delivery_dates td input[type="radio"] + label {
    padding: 32px 10px !important;
    margin: 0;
    display: block;
    cursor: pointer;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    text-align: center;
}
#delivery_date_field table.delivery_dates td input[type="radio"]:disabled + label {
    background: #ececec;
}
#delivery_date_field table.delivery_dates td input[type="radio"]:checked + label {
    background: #e6fbe5;
}
#delivery_date_field table.delivery_dates td input[type="radio"] + label:before {
    display: inline-block;
    width: 16px;
    height: 16px;
    content: '';
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #d3d3d3;
    -webkit-transform: translateY(4px);
    -moz-transform: translateY(4px);
    -ms-transform: translateY(4px);
    -o-transform: translateY(4px);
    transform: translateY(4px);
    margin-left: 5px;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

#delivery_date_field table.delivery_dates td input[type="radio"]:checked + label:before {
    -webkit-box-shadow: inset 0 0 0 5px #ff3838;
    -moz-box-shadow: inset 0 0 0 5px #ff3838;
    box-shadow: inset 0 0 0 5px #ff3838;
    border-color: transparent;
}
#delivery_date_field table.delivery_dates td input[type="radio"]:disabled + label:before {
    background: #eaeaea;
    display: none;
}

#delivery_date_field table.delivery_dates th {
    text-align: center;
    padding: 0 10px;
}
#delivery_date_field table.delivery_dates th .week_name {
    display: block;
}
#delivery_date_field table.delivery_dates th .date {
    display: block;
    font-size: 11px;
    padding-top: 10px;
    color: #959595;
}
table.shop_table.shop_table_responsive.delivery_dates tr th{
    background: #f5f5f5;
    padding: 15px !important;
}
table.shop_table.shop_table_responsive.delivery_dates tr th span:nth-child(2){
    display: block;
    font-size: 11px;
    font-weight: normal;
    margin-top: 10px;
}
table.shop_table.shop_table_responsive.delivery_dates tr th{
    background: #f5f5f5;
    padding: 15px !important;
}
table.shop_table.shop_table_responsive.delivery_dates tr.dt-disable-day td{
    text-align: center;
    background:#f5f5f5;
}

table.shop_table.shop_table_responsive.delivery_dates tr.dt-disable-day td label{
    color:#d8d8d8;
}
#delivery_date_field table.delivery_dates td input[type="radio"]:checked + label {
    background: #7b7b7b !important;
    padding: 32px 10px !important;
    color: #FFF;
}
#delivery_date_field table.delivery_dates td.dt-disable-day {
    text-align: center;
    padding: 0 !important;
}

#delivery_date_field table.delivery_dates td.dt-disable-day label {
    margin: 0 !important;
    padding: 25px 15px;
    background: #f5f5f5;
}
table.shop_table.shop_table_responsive.delivery_dates,
table.shop_table.shop_table_responsive.delivery_dates th,
table.shop_table.shop_table_responsive.delivery_dates td {
    border: 1px solid #ececec !important
}
table.shop_table.shop_table_responsive.delivery_dates th {
    background: #efefef !important;
}
table.shop_table.shop_table_responsive.delivery_dates td {
    background: #FFF !important;
}
table.shop_table.shop_table_responsive.delivery_dates td label {
    background: #FFF !important;
}

/* digikala theme */
.wcdt-digitheme {
    /* float: right; */
    /* width: 100%; */
}

ul.digitheme-head {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* flex-wrap: wrap; */ /* or inline-flex */
    flex-direction: row;
}
ul.digitheme-head .digitheme-head-date {
    font-size: 13px;
    color: #e1e1e1;
}

ul.digitheme-head .digitheme-head-name {
    font-size: 17px;
}

ul.digitheme-head li {
    flex: auto;
    text-align: center;
    cursor: pointer;
    border: 1px solid #e1e1e1;
    border-left: 0;
    padding: 10px;
    position: relative;
    background: #f8f8f8;
}

ul.digitheme-head li:last-child {
    flex: auto;
    text-align: center;
    cursor: pointer;
    border-left: 1px solid #e1e1e1;
}

ul.digitheme-head li.activated {
    background: #FFF;
    border-bottom: 0;

}
ul.digitheme-head li.activated:before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    height: 4px;
    background: #00fbd6;
    top: -4px;
    transition: all .3s ease-in-out;
}
ul.digitheme-body {
    padding: 0;
    margin: 0;
    list-style: none;
    border: 1px solid #e1e1e1;
    border-top: 0;
    margin-bottom: 10px;
}
ul.digitheme-body * {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.digitheme-body > li {
    display: none;
}
ul.digitheme-body > li.activated {
    display: block;
}
ul.digitheme-body li ul li {
    padding: 12px 25px;
}
ul.digitheme-body li ul li:nth-child(2n) {
    background: #fcf9f9;
}
ul.digitheme-body li ul li:not(.dt-disable-day) label {
    /* float: right; */
    cursor: pointer;
}
ul.digitheme-body li ul li span {
    float: left;
    font-size: 12px;
    line-height: 2;
    color: #dd7e19;
    background: #fff9f2;
    border: 1px solid #f0d6ba;
    border-radius: 5px;
    padding: 3px 30px;
    cursor: default;
    margin-top: -4px;
}
.show-delivery-time {
    float: right;
    width: 100%;
    margin-bottom: 10px;
    background: #f8f8f8;
}
.show-delivery-time strong{
    float: right;
    padding: 20px;
    margin-left: 10px;
    background: #f3f3f3;
}
.show-delivery-time span{
    padding: 20px;
    display: block;
    margin-right: 0px;
    float: right;
}
div#delivery_date_field.digikala_mobile {
    position: fixed;
    bottom: -100%;
    background: #FFF;
    z-index: 99999999999;
    width: 100%;
    border-radius: 7px 7px 0 0;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.4);
    right: 0;
    transition: all 0.5s ease-out;
    padding-bottom: 10px;
}

div#delivery_date_field.digikala_mobile.slideUp {
    bottom: 0;
}

.digikala_mobile ul.digitheme-head {display: block;overflow-x: scroll;white-space: nowrap;border: 1px solid #d6d6d6;border-right: 0;border-left: 0;padding: 0;margin: 0;list-style: none;}

.digikala_mobile ul.digitheme-head li {
    flex: none;
    display: inline-block;
    width: 35%;
    background: none;
    border: none;
}

div#delivery_date_field.digikala_mobile h3 {
    font-size: 19px;
    padding: 13px 10px;
    margin: 0;
}
a#select_delivery_time_digikala {
    background: #f66149;
    color: #FFF;
    display: block;
    text-align: center;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
}
.digikala_mobile_selection {
    display: grid;
    grid-template-columns: 50% 50%
}

.digikala_mobile_selection .label.selected_time,
.digikala_mobile_selection.selected .label.default {
    display: none;
}
.digikala_mobile_selection.selected .label.selected_time{
    display: block;
}

div#delivery_date_field.digikala_mobile ul.digitheme-head li.activated:before {
    bottom: 0;
    top: auto;
}