/*=Font size */

.ocfilter-option .ocf-option-name,
.ocfilter-option .ocf-option-values,
.ocfilter-option .ocf-option-description,
.ocfilter-option .fields-price {
    font-size: 12px;
}

.ocfilter-option .ocf-option-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
}

.ocfilter-option .ocf-option-values {
    overflow: visible;
}

.list-group-item {
    overflow: visible!important;
    padding: 10px 0;
    border: none;
    background: none;
    border-bottom: 1px solid#e6ebf3;
}

.list-group{
    margin: 0;
}

.list-group .list-group-item:last-child{
    border: none;
    padding-bottom: 0;
}

.list-group .list-group-item:last-child .container-checkbox:last-child{
    margin-bottom: 0;
}

.ocfilter-option .ocf-option-values .dropdown-menu {
    min-width: 100%;
    max-height: 250px;
    overflow: auto;
    padding: 10px;
}

.ocfilter-option .ocf-color {
    float: left;
    height: 20px;
    margin: 0px -16px 0 0px;
    width: 20px;
    position: relative;
    z-index: 2;
    border-radius: 3px;
}

.ocfilter-option .ocf-image {
    background-repeat: no-repeat;
    background-position: 0 0;
    float: left;
    height: 19px;
    margin: 1px -16px 0 -3px;
    position: relative;
    width: 19px;
    z-index: 10;
}

.ocfilter-option label {
    cursor: pointer;
    display: block;
    font-size: 14px;
    white-space: normal;
    width: 100%;
    line-height: 20px;
    font-weight: 500;
}

.ocfilter-option .dropdown-menu label {
    white-space: nowrap;
}

.ocfilter-option label input {
    display: inline-block;
    margin: 0 5px 0 0;
    vertical-align: top;
}

.ocfilter-option label small {
    background-color: #e6ebf3;
    font-weight: 400;
    font-size: 11px;
    margin-left: 0;
    float: right;
    width: 36px;
    color: #8a95a5;
}

.ocfilter-option label.disabled {
    color: #999999;
}

.ocfilter-option label.disabled small {
    background-color: #EFEFEF;
    color: #999999;
}

.ocfilter-option label {
    color: #8a95a5;
    text-decoration: none;
    font-size: 13px;
}

.ocfilter-option label.ocf-selected small {
    opacity: 0;
}


/*=Collapse Options */

button[data-target="#ocfilter-hidden-options"] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

button[data-target="#ocfilter-hidden-options"] .fa:before {
    content: "\f078";
}

button[data-target="#ocfilter-hidden-options"][aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

button[data-target="#ocfilter-hidden-options"][aria-expanded="true"] .fa:before {
    content: "\f077";
}


/*=Collapse Values */

.collapse-value {
    margin-bottom: 10px;
}

.collapse-value > button,
.collapse-value > button:focus,
.collapse-value > button:active,
.collapse-value > button:active:focus {
    text-align: left;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    font-size: 12px;
    text-decoration: underline;
    outline: none;
}

.collapse-value > button .fa:before {
    content: "\f107";
}

.collapse-value > button[aria-expanded="true"] {}

.collapse-value > button[aria-expanded="true"] .fa:before {
    content: "\f106";
}


/*=Selected Options */

.selected-options {
    padding: 15px;
    border: 2px dashed#e6ebf3;
    border-radius: 10px;
    margin: 10px 0 0;
}

.selected-options .ocfilter-option {
    margin-bottom: 10px;
}

.selected-options .ocfilter-option span{
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.selected-options .ocfilter-option .btn-danger{
    padding: 5px 15px!important;
    background: #e6ebf3;
    border: none;
    text-shadow: none;
    font-size: 12px;
    margin: 0;
    color: #8a95a5;
}

.selected-options .ocfilter-option .btn-danger:hover{
    background: #2986ff;
    color: #fff;
}

.selected-options>.btn-danger{
    background: none;
    border: none;
    display: inline-block;
    width: auto;
    text-shadow: none;
    box-shadow: none;
    padding: 0;
    color: #8a95a5;
}

.selected-options>.btn-danger:hover{
    background: none;
    color: #222;
}


/*=Price filtering */

#ocfilter-price .ocf-option-values {
    padding: 10px 10px 5px;
}

.trackbar,
.trackbar .left-block,
.trackbar .right-block {
    height: 4px;
}

.popover-content .form-inline {
    white-space: nowrap;
}

.popover-content .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

.scale {
    margin-bottom: 35px;
    margin-left: 15px;
    margin-right: 15px;
}

.ocfilter .popover .form-inline .form-control {
    width: 100px;
}


/* Position center style */

.ocfilter-content-top,
.ocfilter-content-bottom {}

.ocfilter-content-top .box-content,
.ocfilter-content-bottom .box-content {
    font-size: 0;
}

.ocfilter-content-top .ocfilter-option,
.ocfilter-content-bottom .ocfilter-option {
    display: inline-block;
    vertical-align: top;
    width: 33%;
}

.ocfilter-content-top .ocfilter-option + .ocfilter-option,
.ocfilter-content-bottom .ocfilter-option + .ocfilter-option {
    border-top: none;
}


/*=Mobile */

.ocf-offcanvas {
    position: fixed;
    top: 60px;
    background-color: #fff;
    bottom: 46px;
    left: -250px;
    width: 250px;
    padding: 0;
    -webkit-transition: left 250ms ease;
    -moz-transition: left 250ms ease;
    -ms-transition: left 250ms ease;
    -o-transition: left 250ms ease;
    transition: left 250ms ease;
    z-index: 1028;
    border-top: 1px solid#ebebeb;
    border-bottom: 1px solid#ebebeb;
}

.ocf-offcanvas.active {
    left: 0;
}

.ocf-offcanvas .ocfilter-mobile-handle {
    position: fixed;
    bottom: 120px;
    right: 15px;
    transition: 0.3s all;
}


.ocf-offcanvas .ocfilter-mobile-handle .btn {
    background: #2986ff;
    border: none;
    font-size: 20px;
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-align: center;
    line-height: 51px;
    display: block;
}

.ocf-offcanvas .ocf-offcanvas-body {
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.ocf-offcanvas .panel {}

.ocf-offcanvas {}

.ocf-offcanvas {}

.ocfilter-option .container-checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ocfilter-option .container-checkbox:hover{
    color: #2986ff;
}

.ocfilter-option .container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.ocfilter-option .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background: none;
    border-radius: 3px;
    border: 2px solid#c0c9d6;
}

.ocfilter-option .container-checkbox:hover input ~ .checkmark{
    background-color: #2985fc;
    border-color: #2985fc;
}


.ocfilter-option .container-checkbox input:checked ~ .option-name{
    color: #2985fc;
}

.ocfilter-option .container-checkbox input:checked ~ .checkmark {
    background-color: #2985fc;
    border-color: #2985fc;
}

.ocfilter-option .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.ocfilter-option .container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.ocfilter-option .container-checkbox .checkmark:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}