body{
    font-family: 'Open Sans', sans-serif;
}

body,html{
    scroll-behavior: smooth;
}

* {
  -webkit-border-radius: 0 !important;
     -moz-border-radius: 0 !important;
          border-radius: 0 !important;
}

.btn{
    font-size: 1em;
}

::placeholder{
  letter-spacing: auto;
}

.col-100{width: 100%;}


form select{
    padding-left: 9px !important;
}


#PositionTop .full-wrapper{
    margin: auto;
}
.clearfix{
    clear: both;
    width: 100%;
    display: block;
}

input.with-error,
select.with-error,
textarea.with-error
{
    border: solid 1px red !important;
}



@media all and (max-width: 1024px) {
    #mainmenu-desktop-nav-container.js-opened{
        display: flex !important;
        flex-direction: column;
    }
    #mainmenu-desktop-nav-container .mainmenu-language-list{
        order: 10;
    }
    
    #mainmenu-desktop-nav-container .account-module-menu{
        order: 9;
    }
}




.home-main-categories{
    margin-top: 4em;
    margin-bottom: 4em;
}

.home-main-categories > .container > .row{
    justify-content: center;
}

.home-main-categories a{
    text-align: center;
    text-decoration: none;
}

.home-main-categories a img{
    display: block;
    margin: auto;
}

.home-main-categories a > span{
    display: block;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
}




#PositionBreadcrumb .mod-breadcrumbs a::after{
    content: ' | ';
    display: inline-block;
    margin-left: .5em;
    margin-right: .5em;
}



/* Home */

.swiper-button-next, .swiper-button-prev{
    background: none !important;
}

.swiper-button-next i, .swiper-button-prev i{
    color: #FFFFFF;
}

.swiper-slide .swiper-slide-title{
    margin-top: 0;
    margin-bottom: 0;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 400;
}




.product-classifications-icons ul{
    display: block; width: 100%;
}
.product-classifications-icons ul > li{
    display: inline-block;
}

.product-classifications-icons > ul > li.item-c-entry{
    width: 18%;
}



.product-classifications-icons ul > li > a > img{
    width: 100%; height: auto;
    width: 60px;
    margin-top: 20px;
}

.main-filter-title-lbl{
    display: block;
    /*font-weight: bold;*/
    text-transform: uppercase;
}

.works-grid.work-grid-gut{
    position: relative;
    width: 100%;
    /*max-width: 1140px;*/
    margin: auto;
    display: block;
}


.work-item{
    width: 25%;
}

@media all and (min-width: 768px) and (max-width: 991px) {
    .works-grid .work-item{
        width: 50%;
    }
}

@media all and (max-width: 767px) {
  
  .works-grid .work-item{
    width: 100%;
    
  }
  
}


.work-item .compare-input{
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
    display: none;
    opacity: 0;
    padding: .5em;
    
    transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    -o-transition: all 400ms ease;
}


.input-checkbox-wrapper{
  position: relative;  
}

.input-checkbox-wrapper::after{
    content: '';
    width: 26px;
    height: 26px;
    border: solid 1px black;
    position: absolute;
    top: 0; left: 0;
}

.input-checkbox-wrapper input[type="checkbox"]{
    opacity: 0;
}

.compare-checked .input-checkbox-wrapper::after{
    /*content: 'X';*/
    content: "\f00c";
    text-align: center;
    
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    font-size: 1.8em;
    line-height: 1em;
}






/* Product Filters */

#category-view-product-filters .product-filter-obj .main-filter-title-lbl{
    min-height: 56px;
    padding-bottom: 1em;
}

@media all and (max-width: 991px) {
    #category-view-product-filters .product-filter-obj .main-filter-title-lbl{
        padding-bottom: 0;
        padding-top: 2em;
    }
}

#category-view-product-filters .product-filter-obj select{
    width: 100%;
    max-width: 270px;
    height: 26px;
    border: solid 1px gray;
}


.entry-filter-value{
    float: left;
    margin-right: 1em;
}

.entry-filter-value > img, 
.entry-filter-value > label{
    float: left;
}

.entry-filter-value img{
    width: 2em;
    height: 2em;
    margin-left: 10px;
    
    transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
}

label.with-input-checkbox{
    cursor: pointer;
    width: 2em;
    height: 2em;
    border: solid 1px gray;
    position: relative;
}
label.with-input-checkbox > input{
    display: none;
}

label.with-input-checkbox.selected::after{
    display: block;
    position: absolute;
    content:'';
    width: 100%;
    height: 2px;
    background-color: gray;
    top: 50%; left: 0;
    transform: rotate(45deg);
}
label.with-input-checkbox.selected::before{
    display: block;
    position: absolute;
    content:'';
    width: 100%;
    height: 2px;
    background-color: gray;
    top: 50%; left: 0;
    transform: rotate(-45deg);
}



/* custom input range */

.input-range-wrapper .input-range-current-value{
    display: block; width: 90%; text-align: center;
    margin-top: .5em;
}


.custom-input-range-input {
    width: 90%;
    height: 6px;
    background: lightgrey;
    border-radius: 50px;
    
    position: relative;
}

@media all and (max-width: 640px) {
    .custom-input-range-input{
        width: 100%;
    }
}

.custom-input-range-input label {
    position: absolute;
    width: 20px;
    margin-top: 20px;
    margin-left: -10px;
    text-align:left;
    font-size: 13px;
    
    
    display: none;
}


.ui-slider-handle.ui-state-default.ui-corner-all {
    position: absolute;
    
    border-radius: 100% !important;
    -moz-border-radius: 100% !important;
    -webkit-border-radius: 100% !important;
    background: black;
    border: 6px solid black;
    width: 20px;
    height: 20px;
    top: -8px;
    cursor:grab;
}

.ui-slider-handle.ui-state-active,
.ui-slider-handle.ui-state-hover,
.ui-slider-handle.ui-state-focus {
    border: none;
    outline: 0;
}




/* Product View */
#Catalog_ProductView{
    max-width: 1140px;
    margin: auto;
}

#Catalog_ProductView .work-img{
    background-color: #F8F8F8;
}
#Catalog_ProductView_noclick .work-img{
    background-color: #F8F8F8;
}

.child-categories-section{
    max-width: 1140px; margin: auto;
}

.child-categories-section .work-img{
    background-color: #F8F8F8;
}

.child-categories-section .post-prev-title{
    display: flex;
    justify-content: center;
    align-items: end;
    height: 48px;
    overflow: hidden;
}

table{
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}


table .fa-check{
    color: green;
}
table .fa-times{
    color: red;
}


.entity-Product-view .tpl-tabs-cont #three img{
    width: auto;
    max-height: 600px;
    margin-right: 200px;
}

.entity-Product-view .tpl-tabs-cont #four img{
    width: auto;
    max-height: 600px;
    margin-right: 200px;
}

@media all and (max-width: 992px) {
    
    .entity-Product-view .tpl-tabs-cont #three img{
        max-width: none;
        width: 100%;
        max-height: none;
        margin-right: 0;
        height: auto;
    }
    
    .entity-Product-view .tpl-tabs-cont #four img{
        max-width: none;
        width: 100%;
        max-height: none;
        margin-right: 0;
        height: auto;
    }
    
}


@media all and (max-width: 768px) {
    
    .product-single-buttons-area{
        justify-content: center;
    }
    
}



/* Product Compare */

body.product-compare-active .work-item .compare-input{
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}



.compare-component .compare-component-messages,
.compare-component button
{
    width: 100%; height: auto; max-width: 250px;
}

.compare-component .compare-component-messages{
    padding-top: 1em;
}


.compare-component .compare-component-messages .message-active,
.compare-component button .text-active
{
    display: none;
}


.product-compare-page-section .work-img{
    background-color: #F8F8F8;
    margin: .5em;
}

.product-compare-page-section .product-sheet-labels-part{
    display: none;
}

.product-compare-back-button{
    position: absolute; top: 270px;
}


.product-btn-container{
    width: 100%;
}

.product-btn-container > a{
  margin-top: 15px;
}

@media all and (max-width: 1199px) {
    .product-compare-back-button{
        top: 226px;
    }
}

@media all and (max-width: 640px) {
    .compare-component,
    .compare-component button,
    .compare-component .compare-component-messages,
    #category-view-product-filters .product-filter-obj select
    {
        max-width: 100%;
    }
    
    
}

@media all and (max-width: 991px) {
    .product-compare-page-section .product-sheet-labels-part{
        display: table-cell;
    }
}



body.product-compare-active .compare-component .compare-component-messages p{
    margin-bottom: 0px;
}

body.product-compare-active .compare-component .compare-component-messages .message-default,
body.product-compare-active .compare-component button .text-default
{
    display: none;
}

body.product-compare-active .compare-component .compare-component-messages .message-active,
body.product-compare-active .compare-component button .text-active
{
    display: block;
}


body.product-compare-active #btn-compare-products{
    background: white;
    color: rgba(0,0,0, .7);
    border-color: rgba(0,0,0, .7);
}



.product-compare-single-entry .product-attachment-download-btn{
    right: auto !important;
    width: 100%;
    display: block;
}


#product-compare-toolbar{
    position: fixed;
    bottom: -300px; left: 0; width: 100%;
    opacity: 0;
    background-color: #F8F8F8;
    padding: 1em;
    
    transition: all 800ms ease;
    -moz-transition: all 800ms ease;
    -webkit-transition: all 800ms ease;
    -o-transition: all 800ms ease;
}

body.product-compare-active #product-compare-toolbar{
    bottom: 0;
    opacity: 1;
    z-index: 11;
}


#product-compare-toolbar h4{
    margin-bottom: 0;
}
#product-compare-toolbar button{
    margin-top: 1em;
    display: block;
    width: 100%;
}



/* Product Page */

.classifications_entry_icons{
    display: block;
}

ul.classifications_entry_icons > li{
    display: inline-block;
}

ul.classifications_entry_icons > li img,
ul.classifications_entry_icons > li svg
{
    width: 60px;
    margin-top: 20px;
}


ul.classifications_entry_icons > li svg *{
    fill: #AAAAAA;
}

ul.classifications_entry_icons > li.active svg *{
    fill: #141414;
}

.classification-description-holder{
    border-top: solid 1px #d5d5d5;
    border-bottom: solid 1px #d5d5d5;
}

.classification-description-holder > div{
    display: none;
    opacity: 0;
    
    padding-top: 2em;
    padding-bottom: 2em;
    
    transform: all 500ms ease;
    -moz-transform: all 500ms ease;
    -webkit-transform: all 500ms ease;
    -ie-transform: all 500ms ease;
}

.classification-description-holder > div.show{
    display: block;
    opacity: 1;
}

#product-kits-parent-accordion .card .card-header a{
    color: #222;
}

#product-kits-parent-accordion .card .card-body table tr td a{
    display: block;
}


@media all and (max-width: 640px) {
    #product-kits-parent-accordion .card .card-body table tr td a{
        width: 80px; height: 80px;
    }
    #product-kits-parent-accordion .card .card-body table tr td a > img{
        transform: translateY(50%);
        -moz-transform: translateY(50%);
        -webkit-transform: translateY(50%);
    }
}


div#two table td.central-description-cell p{
    margin-bottom: 0px;
}

/*.central-description-cell h3{
    font-size: 1em;
    font-weight: bold;
}*/


body.entity-Product-view .page-section p{
    margin-bottom: 6px;
}


.tab-control-panels-contents .cp-classifications .classifications_entry_icons{
    background-color: #F8F8F8;
    width: 100%;
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

.tab-control-panels-contents .cp-classifications .classifications_entry_icons > li > a > img{
    margin-top: 10px;
    margin-bottom: 10px;
}


.btn.btn-dark,
.btn.btn-dark:hover{
    text-decoration: none;
}



.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23222' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23222' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e") !important;
}

.carousel-indicators li {
  background-color: #222;
}





/* form */

#field-entry-newsletter,
#field-entry-privacy
{
    margin-top: 2em;
}

#field-entry-privacy{
    margin-bottom: 4em;
}

#field-entry-newsletter input,
#field-entry-privacy input
{
    margin-right: .5em;
}


/* Footer */


#PositionInnerFooter ul{
  list-style: none;
  width: auto;
  display: inline-block;
  padding: 0;
}
#PositionInnerFooter ul li{
  display: block;
  text-align: left;
}


.with-social-icons{
  text-align: left;
}
.with-social-icons > a{
  margin-right: 20px;
}


.with-footer-logos img{
  display: inline-block;
  height: 28px;
  margin-right: 1em;
}

.with-footer-logos{
  text-align: left;
}


#customContent_6 i{
  font-size: 22px;
  float: left;
  margin-right: 20px;
}
#customContent_6 hr{
  margin-top: 40px;
    margin-bottom: 40px;
}


footer #customContent_3 > div{
  text-align: center;
  
}

.socialIconsFooter a{
  display: inline-block;
}


@media all and (min-width: 768px) {

  footer #customContent_1{
    text-align: left !important;
  }
  footer #customContent_6{
    text-align: left !important;
  }
  
  footer #customContent_7{
    text-align: right !important;
  }
  
    
  
}


svg #Point text{cursor: pointer;}


.image-as-background{
    display: block;
    width: 100%;
    height: 400px;

	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}






/* News */

.article-wrapper{
	display: flex;
	flex-direction: row;
	margin-bottom: 4em;

}

.article-wrapper .article-content{
	width: 60%;
	display: flex;
	flex-direction: column;
}

.article-content .article-text{
	height: 80%;
	padding-left: 2em;
}

.article-content .article-link{
	height: 20%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding-left: 2em;
}

/* versione senza foto */
.article-wrapper.without-article-image .article-content{
    width: 100%;
}
.article-wrapper.without-article-image .article-content .article-text,
.article-wrapper.without-article-image .article-content .article-link
{
    padding-left: 0;
}




.article-title > a{
    text-decoration: none;
    text-transform: uppercase;
}


@media all and (max-width: 992px) {

    .article-wrapper{
        flex-direction: column;
    }

    .article-wrapper .article-content,
    .article-content .article-text
    {
        width: 100%;
    }
    
    .article-wrapper .article-picture{
        width: 100%;
    }
    .article-wrapper .article-picture a{
        display: block;
    }
    .article-wrapper .article-picture a img{
        width: 100%; height: auto;
    }
    
    .article-content .article-text{
        padding-left: 0;
        padding-top: 1em;
    }
    
    .article-content .article-link{
        padding-left: 0;
    }
}

.pagination a.active{
  background: rgba(0,0,0, .7);
  color: rgba(255,255,255, .85);
  
}



/**
    Fix News contenuto remoto con breakpoint gestito diversamente
*/
@media all and (max-width: 768px) {

    .news-single .user-content .col-sm-4{
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        max-width: none;
        flex: auto;
        -ms-flex: auto;


    }

    .news-single .user-content .col-sm-8{
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        max-width: none;
        flex: auto;
        -ms-flex: auto;
    }

}



@media all and (min-width: 992px) {
    
    .news-list-single-entry .article-picture img{
        max-width: 420px;
    }
    
}


.form-control { border: 1px solid rgba(0,0,0,.1); }


input[type="file"].form-control{
  font-size: 1em;
}

#field-entry-upload > label{
    padding: .375rem .75rem;
}

#field-entry-newsletter,
#field-entry-privacy
{
  letter-spacing: .1em;
}


#field-entry-upload{
  font-size: 12px; letter-spacing: 0.1em;
}
#field-entry-upload .form-control{height: auto; }






/* Button Style */
.btn.btn-primary{
    height: auto;
    padding: 8px 37px;
    font-size: 12px;
    
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    
    color:#fff;
    background:rgba(34,34,34,.9);
    border:2px solid transparent;
    font-size:11px;font-weight:400;
    text-transform:uppercase;
    text-decoration:none;
    letter-spacing:2px;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    border-radius:0;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
    box-shadow:none;
}

.btn.btn-primary:focus, 
.btn.btn-primary:hover,
.btn.btn-primary:active
{
    font-weight: 400;
    color: rgba(255,255,255,.85) !important;
    /*background: rgba(0,0,0,.7) !important;*/
    text-decoration: none;
    outline: 0;
    border-color: transparent !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
