/*-----------------------
SIDEBAR
-----------------------*/

@media screen and (max-width: 991px) {
    sidebar {
        display: none;
        position: absolute;
        background: rgba(255,255,255,0.95);
        z-index: 999;
        left: 0;
        width: 100%;
        top: 0;
        padding-top: 30px;
    }

    .chiudifiltri {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999;
        font-size: 32px;
        width: 54px;
        color: #333;
        display: block;
        padding: 5px 15px;
        border: solid 1px #333;
    }


    sidebar .dropdown-filter-prod.filtroaperto {
        height: 320px;
    }

    sidebar > div {
        width: 270px;
        -webkit-box-shadow: 10px 2px 14px -8px rgba(0,0,0,0.75);
        -moz-box-shadow: 10px 2px 14px -8px rgba(0,0,0,0.75);
        box-shadow: 10px 2px 14px -8px rgba(0,0,0,0.75);
        background: #fff;
        margin-left: 10px;
    }

    sidebar > .blocco-benefico,
    sidebar > .halfpage {
        display: none;
    }

    .prefooter-mobile .boxsidebar {
        width: 48%;
        display: inline-block;
        vertical-align: top;
    }

    .prefooter-mobile .boxsidebar:last-child {
        margin-left: 4%;
        text-align: right;
    }

    .prefooter-mobile .halfpage img {
        max-width: 300px;
    }

}

@media screen and (max-width: 500px) {

    .prefooter-mobile .boxsidebar {
        width: 100%;
        display: block;
    }

    .prefooter-mobile .boxsidebar:last-child {
        margin-left: 0;
        text-align: center;
    }
}


/*-----------------------
CHECKBOX IN SELECT
-----------------------*/

.filtri-prodotti {
    margin-top: 10px;
}

div.dropdown-filter-prod {
    border: solid 2px #333;
    display: inline-block;
    max-width: 190px;
    vertical-align: top;
    margin-left: 10px;
    position: relative;
}

div.dropdown-filter-prod:first-child {
    margin: 0;
}

.dropdown-filter-prod .title-select,
.dropdown-filter-prod .contenitore-filtri {
    margin: 0px;
    padding: 0px;
}

.checkbox-filtrod .mutliSelect {
    height: 170px;
    position: relative;
}

.checkbox-filtro .mutliSelect ul {
    margin: -1px 0 0 0;
}

.dropdown-filter-prod .contenitore-filtri {
    position: absolute;
    display: none;
    z-index: 900;
    background: #fff;
    border: solid 2px #333;
    left: -2px;
    width: 190px;
    height: 173px;
}

#filtro-prezzo.dropdown-filter-prod .contenitore-filtri {
    position: absolute;
    display: none;
    z-index: 900;
    background: #fff;
    border: solid 2px #333;
    left: -2px;
    width: 190px;
    height: 128px;
}

.dropdown-filter-prod a,
.dropdown-filter-prod a:visited {
    color: #333;
    text-decoration: none;
    outline: none;
    font-size: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.dropdown-filter-prod .title-select a {
    display: block;
    padding: 8px 10px 0 10px;
    height: 40px;
    line-height: 24px;
    overflow: hidden;
    border: 0;
    width: 190px;
    position: relative;
}

.checkbox-filtro .title-select a span,
.checkbox-filtro .title-select .multiSel span {
    cursor: pointer;
    display: inline-block;
    padding: 0 3px 2px 0;
}

.checkbox-filtro .title-select .multiSel span {
    font-size: 12px;
}



.checkbox-filtro .contenitore-filtri ul {
    background-color: #d5d5d5;
    color: #fff;
    left: 0px;
    padding: 2px 15px 2px 5px;
    position: relative;
    top: 0;
    width: 190px;
    list-style: none;
    height: 128px;
    overflow: hidden;
    overflow-y: scroll;
    border: solid 2px #333;
    margin-left: -2px;
    border-bottom: none;
}

.checkbox-filtro span.value {
    display: none;
}

.checkbox-filtro .contenitore-filtri ul li,
.checkbox-filtro .contenitore-filtri ul li label {
    color: #333;
    text-decoration: none;
    outline: none;
    font-size: 16px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    padding: 3px 0;
    cursor: pointer;
}

.dropdown-filter-prod .contenitore-filtri ul li label {
    padding: 3px 0 0 25px;
}


.dropdown-filter-prod .contenitore-filtri ul li a {
    padding: 5px;
    display: block;
}
.dropdown-filter-prod .contenitore-filtri ul li a:hover {
    background-color: #fff;
}

.dropdown-filter-prod button {
    background-color: #223C7E;
    width: 100%;
    border-top: solid 2px #223C7E;
    padding: 10px 0;
    margin: 0;
    text-align: center;
    color: #fff;
    font-weight: 700;
    border-radius: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    z-index: 900;
}

.dropdown-filter-prod button:hover {
    background-color: #fff;
    border-top: solid 2px #333;
    color: #223C7E;
}

.dropdown-filter-prod .title-select a i {
    position: absolute;
    right: 10px;
    top: 9px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.dropdown-filter-prod .title-select a.open i {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.checkbox-filtro .contenitore-filtri .mutliSelect .uncheck {
    cursor: pointer;
    padding-left: 25px;
}

.checkbox-filtro .contenitore-filtri .mutliSelect .uncheck:before {
    content: '✔';
    position: absolute;
    left: 6px;
    top: 7px;
    width: 17px;
    height: 17px;
    border: 1px solid #333;
    background: #fff;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.3);
    font-size: 18px;
    line-height: 0.8;
    color: #223C7E;
    transition: all .2s;
}

.checkbox-filtro .contenitore-filtri .mutliSelect .uncheck.desele:before {
    content: '';
}

.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked),
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked) + label,
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:checked + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    line-height: 1;
    width: 100%;
}

.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked) + label:before,
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left:0; top: 2px;
    width: 17px; height: 17px;
    border: 1px solid #333;
    background: #fff;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.3)
}
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked) + label:after,
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:checked + label:after {
    content: '✔';
    position: absolute;
    top: 3px; left: 4px;
    font-size: 18px;
    line-height: 0.8;
    color: #223C7E;
    transition: all .2s;
}

.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:disabled:not(:checked) + label:before,
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #d5d5d5;
    background-color: #d5d5d5;
}
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:disabled:checked + label:after {
    color: #333;
}
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:disabled + label {
    color: #d5d5d5;
}
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:checked:focus + label:before,
.checkbox-filtro .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked):focus + label:before {
    border: 1px dotted #223C7E;
}
.dropdown-filter-prod .contenitore-filtri .mutliSelect label:hover:before {
    border: 1px solid #223C7E!important;
}


@media screen and (max-width: 1199px) {
    div.dropdown-filter-prod,
    #filtro-ordina.select-style,
    .dropdown-filter-prod .title-select a {
        max-width: 165px;
    }
}



/*-----------------------
PRICE FILTER
-----------------------*/

.range-slider {
    position: relative;
    width: 100%;
    padding: 15px 5px 20px;
    display: block;
    height: 125px;
}

.barraprezzo-sfondo {
    height: 15px;
    background: #d5d5d5;
    position: relative;
    margin-bottom: 10px;
}

.range-slider span.separatore{
    vertical-align: sub;
}

.range-slider__value {
    border: none;
    text-align: end;
    width: 65px;
    font-size: 14px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    padding: 0;
    border: solid 1px #d5d5d5;
}

p.rangeafter,
p.rangebefore {
    border: solid 1px #d5d5d5;
    text-align: right;
    display: inline-block;
    width: 81px;
    position: relative;
    background: #fff;
    font-size: 16px;
    font-weight: 400;
}

input[type=range].range-slider__range,
input[type=range].barradistanza {
    -webkit-appearance: none;
    width: 100%;
    margin: 0;
    position: absolute;
    pointer-events: none;
    background: transparent;
    top:-5px;
}
input[type=range].range-slider__range:focus,
input[type=range].barradistanza:focus{
    outline: none;
}
input[type=range].range-slider__range::-webkit-slider-runnable-track,
input[type=range].barradistanza::-webkit-slider-runnable-track{
    width: 100%;
    height: 25.6px;
    cursor: pointer;
    background: transparent;
    border-radius: 0px;
}
input[type=range].range-slider__range::-webkit-slider-thumb,
input[type=range].barradistanza::-webkit-slider-thumb{
    box-shadow: 0px 0px 1px #670000, 0px 0px 0px #810000;
    border: 0px solid #2f3f7c;
    height: 27px;
    width: 18px;
    border-radius: 0px;
    background: #2f3f7c;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -0.7px;
    pointer-events: all;
}
input[type=range].range-slider__range:focus::-webkit-slider-runnable-track,
input[type=range].barradistanza:focus::-webkit-slider-runnable-track{
    background: transparent;
}
input[type=range].range-slider__range::-moz-range-track,
input[type=range].barradistanza::-moz-range-track{
    width: 100%;
    height: 25.6px;
    cursor: pointer;
    background: transparent;
    border-radius: 0px;
}
input[type=range].range-slider__range::-moz-range-thumb,
input[type=range].barradistanza::-moz-range-thumb {
    box-shadow: 0px 0px 1px #670000, 0px 0px 0px #810000;
    border: 0px solid #2f3f7c;
    height: 27px;
    width: 18px;
    border-radius: 0px;
    background: #2f3f7c;
    cursor: pointer;
    pointer-events: all;
}
input[type=range].range-slider__range::-ms-track,
input[type=range].barradistanza::-ms-track {
    width: 100%;
    height: 25.6px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
input[type=range].range-slider__range::-ms-fill-lower,
input[type=range].barradistanza::-ms-fill-lower {
    background: #d0d0d0;
    border: 0px solid rgba(0, 0, 0, 0);
    border-radius: 0px;
    box-shadow: 0px 0px 1px #000000, 0px 0px 0px #0d0d0d;
}
input[type=range].range-slider__range::-ms-fill-upper,
input[type=range].barradistanza::-ms-fill-upper {
    background: #d5d5d5;
    border: 0px solid rgba(0, 0, 0, 0);
    border-radius: 0px;
    box-shadow: 0px 0px 1px #000000, 0px 0px 0px #0d0d0d;
}
input[type=range].range-slider__range::-ms-thumb,
input[type=range].barradistanza::-ms-thumb {
    box-shadow: 0px 0px 1px #670000, 0px 0px 0px #810000;
    border: 0px solid #2f3f7c;
    height: 27px;
    width: 18px;
    border-radius: 0px;
    background: #2f3f7c;
    cursor: pointer;
    height: 25.6px;
}
input[type=range].range-slider__range:focus::-ms-fill-lower,
input[type=range].barradistanza:focus::-ms-fill-lower {
    background: #d5d5d5;
}
input[type=range].range-slider__range:focus::-ms-fill-upper,
input[type=range].barradistanza:focus::-ms-fill-upper {
    background: #d5d5d5;
}


.range-slider input::-moz-focus-inner,
.range-slider input::-moz-focus-outer {
    border: 0;
}


.range-slider .input-group-addon {
    padding: 6px;
}

.range-slider .rangebefore {
    width: 75px;
    float: left;
}

.range-slider .rangeafter {
    width: 75px;
    float: right;
    position: relative;
}


/*-----------------------
ORDER FILTER
-----------------------*/



#filtro-ordina.select-style {
    border: solid 2px #333;
    display: inline-block;
    width: 190px;
    vertical-align: top;
    overflow: hidden;
    position: relative;
    float: right;
}

#filtro-ordina.select-style:hover {
    opacity: 0.85;
}

div#filtro-ordina:before {
    content: "\f078";
    right: 6px;
    position: absolute;
    top: 6px;
    font-size: 20px;
    font-family: FontAwesome;
    color: #333;
    z-index: -1;
}

#filtro-ordina.select-style select {
    padding: 6px 8px;
    width: 130%;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #333;
    text-decoration: none;
    outline: none;
    font-size: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
}

#filtro-ordina.select-style select:focus {
    outline: none;
}


@media screen and (max-width: 991px) {

    div.dropdown-filter-prod,
    #filtro-ordina.select-style,
    .dropdown-filter-prod .title-select a {
        width: 270px;
        display: block;
        max-width: none;
        margin: 5px 0;
        float: none;
        height: 50px;
        margin-left: 10px;
        overflow: hidden;
    }

    .dropdown-filter-prod .title-select a i {
        right: 20px;
    }

    div#filtro-ordina:before {
        z-index: 1;
    }

    div#filtro-taglia {
        margin-bottom: 28px;
    }

    .dropdown-filter-prod .contenitore-filtri {
        width: 100%;
        height: 250px;
    }

    .dropdown-filter-prod .mutliSelect {
        height: 250px;
    }

    .dropdown-filter-prod .contenitore-filtri ul {
        width: 100%;
        height: 210px;
    }

    .dropdown-filter-prod .contenitore-filtri ul li.uncheck,
    .dropdown-filter-prod .contenitore-filtri ul li label {
        font-size: 22px;
        padding: 10px 25px;
    }

    .dropdown-filter-prod .contenitore-filtri ul li {
        padding-left: 5px;
    }

    .dropdown-filter-prod .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked) + label:before,
    .dropdown-filter-prod .contenitore-filtri .mutliSelect [type="checkbox"]:checked + label:before,
    .dropdown-filter-prod .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked) + label:after,
    .dropdown-filter-prod .contenitore-filtri .mutliSelect [type="checkbox"]:checked + label:after {
        top: 11px;
    }

    .dropdown-filter-prod .contenitore-filtri .mutliSelect .uncheck:before {
        left: 10px;
        top: 17px;
    }

    .dropdown-filter-prod .contenitore-filtri .mutliSelect .uncheck {
        padding-left: 30px;
    }

    .dropdown-filter-prod .contenitore-filtri .mutliSelect [type="checkbox"]:not(:checked) + label,
    .dropdown-filter-prod .contenitore-filtri .mutliSelect [type="checkbox"]:checked + label {
        width: 100%;
    }

    p.rangeafter, p.rangebefore {
        width: 100px;
        font-size: 21px;
    }

    p.rangeafter {
        float: right;
    }

    .range-slider > span {
        display: none;
    }

    .range-slider {
        height: 150px;
    }

    #filtro-prezzo.dropdown-filter-prod .contenitore-filtri {
        width: 100%;
        height: auto;
    }

}

/*-----------------------
PAGINAZIONE
-----------------------*/

.paginazione {
    text-align: right;
    margin: 12px 0;
}

.paginazione .paginaz-link a {
    font-size: 19px;
    color: #000;
    margin-left: 5px;
}

.paginazione .paginaz-link span {
    font-size: 18px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    margin: 0 15px;
    color: #000;
}

.intro p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}
