.bapf_date_all .bapf_date_from,
.bapf_date_all .bapf_date_to {
    width: 49%;
    max-width: 49%;
    display: inline-block;
    text-align: center;
}
.bapf_date_all .bapf_date_from {
    float: left;
}
.bapf_date_all .bapf_date_to {
    float: right;
}
.bapf_date_all:after {
    content: "";
    display: block;
    clear: both;
}
.bapf_date_all .bapf_date_from input[type=text],
.bapf_date_all .bapf_date_to input[type=text] {
    font-size: 1em;
    width: auto;
    max-width: 100%;
    text-align: center;
    margin: 0!important;
    margin-left: 3px!important;
    margin-right: 3px!important;
    padding: 0!important;
}

/* Dark datepicker */
.berocket_single_filter_widget .datepicker_dark_class .bapf_date_all {
    display: flex;
    flex-wrap: nowrap;
}
.berocket_single_filter_widget .datepicker_dark_class .bapf_date_all .bapf_date_from,
.berocket_single_filter_widget .datepicker_dark_class .bapf_date_all .bapf_date_to {
    float: none;
}
.berocket_single_filter_widget .datepicker_dark_class .bapf_date_all .bapf_date_to {
    position: relative;
    padding-left: 14px;
}
.berocket_single_filter_widget .datepicker_dark_class .bapf_date_all .bapf_date_to:before {
    content: "";
    position: absolute;
    height: 2px;
    width: 10px;
    background: #939393;
    left: -3px;
    top: 14px;
}
.berocket_single_filter_widget .datepicker_dark_class .bapf_date_all input {
    border: 0;
    padding: 4px 0 !important;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    margin: 0 !important;
    cursor: pointer;
}

.bapfdpapcss.datepicker_dark_class .ui-widget.ui-widget-content {
    box-shadow: 0 5px 20px 0 #00000020;
    border: 0;
    border-radius: 9px;
}
.bapfdpapcss.datepicker_dark_class .ui-widget-header {
    background: transparent;
    border: 0;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker-prev,
.bapfdpapcss.datepicker_dark_class .ui-datepicker-next {
    border: 2px solid #e3e3e3;
    border-radius: 6px;
    font-weight: inherit;
    height: 1.8em;
    width: 1.8em;
    cursor: pointer;
    top: 2px !important;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker-next {
    right: 2px !important;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker-prev {
    left: 2px !important;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker-prev:after,
.bapfdpapcss.datepicker_dark_class .ui-datepicker-next:after {
    content: "";
    display: block;
    font-size: 16px;
    height: 4px;
    width: 4px;
    border-top: 2px solid #999;
    position: absolute;
    top: 8px;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker-prev:after {
    rotate: -45deg;
    right: 7px;
    border-left: 2px solid #999;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker-next:after {
    rotate: 45deg;
    left: 7px;
    border-right: 2px solid #999;
}
.bapfdpapcss.datepicker_dark_class .ui-widget-header .ui-corner-all .ui-icon{
    background-image: none;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker-prev.ui-corner-all.ui-state-disabled {
    opacity: 0;
    filter: Alpha(Opacity=0);
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker-title select {
    border: 0;
    border-radius: 0;
    position: relative;
    padding: 3px 0 2px;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker select.ui-datepicker-month,
.bapfdpapcss.datepicker_dark_class .ui-datepicker select.ui-datepicker-year {
    width: 33%;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker select + select {
    margin-left: 5%;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker table thead th {
    padding: .7em .3em;
    text-align: center;
    border: 0;
    font-weight: 600;
    color: #ccc;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker table tbody td span,
.bapfdpapcss.datepicker_dark_class .ui-datepicker table tbody td a {
    text-align: center;
    border: 1px solid transparent;
    background: transparent;
    font-weight: 600;
    color: #555;
}
.bapfdpapcss.datepicker_dark_class .ui-datepicker table tbody td a.ui-state-active {
    background: #111;
    color: white;
    font-weight: 400;
    border-radius: 8px;
}

/* Orange datepicker */
.berocket_single_filter_widget .datepicker_orange_class .bapf_date_all {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    border: 2px solid #ececec;
    border-radius: 7px;
}
.berocket_single_filter_widget .datepicker_orange_class .bapf_date_all .bapf_date_from,
.berocket_single_filter_widget .datepicker_orange_class .bapf_date_all .bapf_date_to {
    float: none;
    position: relative;
}
.berocket_single_filter_widget .datepicker_orange_class .bapf_date_all .bapf_date_to {
    padding-left: 14px;
}
.berocket_single_filter_widget .datepicker_orange_class .bapf_date_all .bapf_date_from:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAA0CAYAAADIZmusAAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpVUqDhYRcchQneyiIo6likWwUNoKrTqYXPoFTRqSFBdHwbXg4Mdi1cHFWVcHV0EQ/ABxF5wUXaTE/yWFFjEeHPfj3b3H3TtAaFaZavbEAFWzjHQiLubyq2LgFQICGEYfghIz9WRmMQvP8XUPH1/vojzL+9yfY0ApmAzwicQxphsW8Qbx7Kalc94nDrOypBCfE08adEHiR67LLr9xLjks8MywkU3PE4eJxVIXy13MyoZKPEMcUVSN8oWcywrnLc5qtc7a9+QvDBW0lQzXaY4hgSUkkYIIGXVUUIWFKK0aKSbStB/38I86/hS5ZHJVwMixgBpUSI4f/A9+d2sWp6fcpFAc6H2x7Y9xILALtBq2/X1s260TwP8MXGkdf60JzH2S3uhokSNgcBu4uO5o8h5wuQOMPOmSITmSn6ZQLALvZ/RNeWDoFuhfc3tr7+P0AchSV8s3wMEhMFGi7HWPdwe7e/v3TLu/HzhXco99j2PlAAAABmJLR0QAAABjAMe20pkVAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH6QIHFgsE5rpJIwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAfqSURBVGje7Vl9VJPXHX7eJOQNTYIQSMQEg4AHjtBOSojyYdU6bbvqsX70iJ5adVY9VerZ6Tx2m5uTbgMLdGtne46DzuOOH3wWlQ9psLpudWulOtGhgKQiqBBAQTQ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rW1ss7e395JAIpGcBDAbAMoPH8GyZWkQS+6uKCQkZEQ7JhKJoPYSzbyJUqV8oNMwmoyoOHyENYjYuNgLvKTk5DKJdPCtqdvQibKyslH9rxXDMCgpLkZvTw9b9qSmppbxFr60sFGj1Va4lr571wcoKS7GgM026khYBwZQWFCAPbvz2dP40dPxJckpqRcoADh/ti727YyMY4b2DpVr0pPxU7H05aWYFBHxrV41HqYMDAygpeUKykpL0VB/ge2fFBnRvuWtrTMStdpW1kvLDx9JKSkqqmz5+rLMF8LtxHC1YcUrryxYvHTJWY+oqKuunnz8+Im9X5781wz3d6bRJHw+H0mpKX9/Yf6L6+fOndtyz/BeVFC44Py5c6u7urqmmYxGdd+tvh908UEyGaQB0qtisfif2mnaA8vSlp8Q0kKn+5j/AbhSrNWQ8pLKAAAAAElFTkSuQmCC);
    left: -12px;
    top: 11px;
    background-size: contain;
}
.berocket_single_filter_widget .datepicker_orange_class .bapf_date_all .bapf_date_to:before {
    content: "";
    position: absolute;
    height: 1px;
    width: 8px;
    background: #939393;
    left: 1px;
    top: 19px;
}
.berocket_single_filter_widget .datepicker_orange_class .bapf_date_all .bapf_date_from input {
    text-align: right;
}
.berocket_single_filter_widget .datepicker_orange_class .bapf_date_all input {
    border: 0;
    padding: 9px 0 !important;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    margin: 0 !important;
    cursor: pointer;
}

.bapfdpapcss.datepicker_orange_class .ui-widget.ui-widget-content {
    box-shadow: 0 1px 2px 2px #00000020;
    border: 0;
    border-radius: 9px;
}
.bapfdpapcss.datepicker_orange_class .ui-widget-header {
    background: transparent;
    border: 0;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker-prev,
.bapfdpapcss.datepicker_orange_class .ui-datepicker-next {
    border: 2px solid #e3e3e3;
    border-radius: 6px;
    font-weight: inherit;
    height: 2em;
    width: 2em;
    cursor: pointer;
    top: 2px !important;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker-next {
    right: 2px !important;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker-prev {
    left: 2px !important;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker-prev:after,
.bapfdpapcss.datepicker_orange_class .ui-datepicker-next:after {
    content: "";
    display: block;
    font-size: 16px;
    height: 4px;
    width: 4px;
    border-top: 2px solid #999;
    position: absolute;
    top: 10px;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker-prev:after {
    rotate: -45deg;
    right: 9px;
    border-left: 2px solid #999;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker-next:after {
    rotate: 45deg;
    left: 9px;
    border-right: 2px solid #999;
}
.bapfdpapcss.datepicker_orange_class .ui-widget-header .ui-corner-all .ui-icon{
    background-image: none;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker-prev.ui-corner-all.ui-state-disabled {
    opacity: 0;
    filter: Alpha(Opacity=0);
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker-title select {
    border: 0;
    border-radius: 0;
    position: relative;
    padding: 3px 0 2px;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker select.ui-datepicker-month,
.bapfdpapcss.datepicker_orange_class .ui-datepicker select.ui-datepicker-year {
    width: 33%;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker select + select {
    margin-left: 5%;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker table thead th {
    padding: .7em .3em;
    text-align: center;
    border: 0;
    font-weight: 500;
    color: #959595;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker table tbody td span,
.bapfdpapcss.datepicker_orange_class .ui-datepicker table tbody td a {
    text-align: center;
    border: 1px solid transparent;
    background: transparent;
    font-weight: 600;
    color: #555;
}
.bapfdpapcss.datepicker_orange_class .ui-datepicker table tbody td a.ui-state-active {
    background: #f97c4a;
    color: white;
    font-weight: 400;
    border-radius: 8px;
}
/* theme storefront fixes */
.theme-storefront .berocket_single_filter_widget .datepicker_orange_class .bapf_date_all input {
    background-color: transparent;
    box-shadow: none;
}