.cat_selector_box, .cat_selector_box *{
	-webkit-box-sizing: border-box!important;
	-moz-box-sizing: border-box!important;
	box-sizing: border-box!important;
}
.cat_selector_box{
    display: block;
    position: relative;
}
.cat_selector_box .csb_title{
    border-radius: 2px;
    border: 1px solid #ccc;
    line-height: 20px;
    padding: 8px 10px;
    color: #555;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    background: #fff;
}
.cat_selector_box .csb_title span{}
.cat_selector_box .csb_ajax{border: 1px solid #ccc;margin: -1px 0 0 0;padding: 10px;position: relative;display:none;background: #fff;width: 100%;}
.cat_selector_box .csb_ajax:before{
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: 15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0px 10px;
    border-color: #ccc transparent transparent transparent;
}
.cat_selector_box .csb_ajax:after{
	content: '';
	display: block;
	position: absolute;
	top: -1px;
	left: 15px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 9px 10px 0px 10px;
	border-color: #fff transparent transparent transparent;
}
.csb_ajax .csb_ajax_load{display:block;margin:auto;padding:10px}
.csb_ajax .csb_parents{
    
padding: 10px;
}
.csb_ajax .csb_parents .csbp_no_cats{}
.csb_ajax .csb_parents .csbp_no_cats b{
    color: #555;
    margin-right: 5px;
}
.csb_ajax .csb_parents .csbp_no_cats a{
    border-bottom: 1px dashed #999;
}

.csbp_cats{
	display: flex;
	flex-flow: wrap;
	width: 100%;
}
.csbp_cats .csbp_cats_item{
	display: flex;
	flex-basis: 33%;
	border: 1px solid #ddd;
	height: 34px;
	line-height: 32px;
	padding: 0;
	margin: 0 -1px -1px 0;
	justify-content: space-between;
	cursor: pointer;
}
.csbp_cats .csbp_cats_item:hover{background-color:#fafafa}

.csb_ajax .csb_parents ul{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
.csb_ajax .csb_parents ul li{
    border-right: 1px solid #ddd;
    padding: 5px 10px;
    background: #f3f1f1;
    color: #555;
    cursor: pointer;
    position: relative;
    line-height: 22px;
}
.csb_ajax .csb_parents ul li:hover{background: #f7f7f7;}
.csb_ajax .csb_parents ul li.csbpc_back{font-weight: bold;}
.csb_ajax .csb_parents ul li:before{
	content: '';
	display: block;
	position: absolute;
	top: 10px;
	right: -6px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0px 5px 5px;
	border-color: transparent transparent transparent #c7c5c5;
	z-index: 1;
}
.csb_ajax .csb_parents ul li:after{
	content: '';
	display: block;
	position: absolute;
	top: 10px;
	right: -5px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0px 5px 5px;
	border-color: transparent transparent transparent #f3f1f1;
	z-index: 2;
}
.csb_ajax .csb_parents ul li:hover:after{border-color: transparent transparent transparent #f7f7f7;}

.csbp_cats .csbp_cats_item span{
    flex-basis: 100%;
    padding: 0 10px;
    color: #444;
    line-height: 32px;
}
.csbp_cats .csbp_cats_item b{width: 34px;line-height: 30px;align-items: center;display: flex;justify-content: center;}
.csbp_cats .csbp_cats_item b:hover{background:#eee}

.my_b_f_fields{}
.my_b_f_fields .cat_selector_box{
    display: flex;
    margin-bottom: 10px;
    justify-content: space-between;
    flex-flow: row wrap;
}
.my_b_f_fields .cat_selector_box .csb_title{
    text-align: center;
    width: 250px;
    border-radius: 0;
}
.my_b_f_fields .cat_selector_box .my_b_f_input{
    width: calc(100% - 250px);
    border: 1px solid #ccc;
    padding: 0 10px;
    height: 38px;
    border-left: 0;
}

@media only screen and (max-width:600px){
	.csbp_cats .csbp_cats_item{flex-basis:50%}
	.csb_ajax .csb_parents ul li.csbpc_back{font-size:0;width: 36px;}
	.csb_ajax .csb_parents ul li.csbpc_back:after{content:"<<";left: 3px;font-size: 14px;top: 1px;}
}
@media only screen and (max-width:480px){
	.csbp_cats .csbp_cats_item{flex-basis:100%}
}
@media only screen and (max-width:416px){
	.csbp_cats .csbp_cats_item span, .csb_ajax .csb_parents ul li{font-size:12px}
}