/**************************
*        MISURE           *
**************************/
/* ---- RFS for responsive text --------------------- */

@media (max-width: 1200px) {
  legend {
    font-size: calc(1.275rem + 0.3vw) ;
  }
  h1, .h1 {
    font-size: calc(1.375rem + 1.5vw) ;
  }
  h2, .h2 {
    font-size: calc(1.325rem + 0.9vw) ;
  }
  h3, .h3 {
    font-size: calc(1.3rem + 0.6vw) ;
  }
  h4, .h4 {
    font-size: calc(1.275rem + 0.3vw) ;
  }
  .display-1 {
    font-size: calc(1.725rem + 5.7vw) ;
  }
  .display-2 {
    font-size: calc(1.675rem + 5.1vw) ;
  }
  .display-3 {
    font-size: calc(1.575rem + 3.9vw) ;
  }
  .display-4 {
    font-size: calc(1.475rem + 2.7vw) ;
  }
  .close {
    font-size: calc(1.275rem + 0.3vw) ;
  }
}

/* ---- // RFS for responsive text --------------------- */

h1.hidden {
	display: block;
	opacity:0;
	position: absolute;
	left: -300px;
}


#black-loader {
	display: none;
	background-color: #000000c2;
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
	color: #FFF;
}

#loader {
    position: absolute;
    height: 35px;
    width: 180px;
    top: 50%;
    left: 50%;
    margin-top: -18px;
    margin-left: -90px;
}

.pb-4, .py-4 {
    padding-bottom: 2.5rem !important;
}

.pt-4, .py-4 {
    padding-top: 2.5rem !important;
}

.heading-section-bold h2 {
    font-size: 40px;
    font-weight: 600;
}

.topper {
    text-transform: none;
}

.topper > div {
	margin-right: 20px;
	display: inline-block;
}

.ftco-navbar.scrolled {
	z-index: 10;
}

.ftco-navbar-light.scrolled .navbar-toggler {
    position: fixed;
    right: 20px;
}

.navbar-brand img {
    vertical-align: middle;
    border-style: none;
    /* max-width: 110px; */
}

nav.scrolled .navbar-brand img {
    max-height: 50px;
}

.ftco-navbar-light .navbar-nav > .nav-item {
	-moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    font-size: 12px;
}


.ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu {
    margin-top: -10px;
	max-width: 175px;
}

.ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu:not(.dropdown-submenu) {
	margin-left: -50px;
}

.ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu .dropdown-item {
	font-size: 12px;
    white-space: normal;
    line-height: 14px;
    padding-top: 10px;
}


/* MULTILEVEL MENU */

dropdown-menu li {
	position: relative;
}
dropdown-menu .dropdown-submenu {
	display: none;
	position: absolute;
	left: 100%;
	top: -7px;
}

dropdown-menu .dropdown-submenu-left {
	right: 100%;
	left: auto;
}

dropdown-menu > li:hover > .dropdown-submenu {
	display: block;
}

li.search {
	position: absolute;
	top: 0;
}

li.search > form div {
	padding-top: 2.25rem;
}

.ftco-navbar-light.scrolled li.search > form div {
    padding-top: 0.7rem !important;
}

li.search input {
	height: 28px!important;
    font-size: 12px;
	padding-right: 35px;
    box-sizing: border-box;
}

li.search button {
	color: #999 !important;
	border: 0;
    background: transparent;
    padding: 0;
    margin-left: -25px;
}

p#carrelloSize {
    margin-bottom: 0;
}

.breadcrumbs {
	margin:0;
	padding:0;
	list-style: none;
	display: block;
}

.breadcrumbs li {
	display: block;
	float: left;
	padding: 0 5px;
}


.breadcrumbs li:not(:last-child):after {
	display: inline-block;
	content: ">";
	padding: 0 0 0 10px; 
}

.breadcrumbs li.active {
	font-weight:bold;
}

.breadcrumbs li.active:after {
	display: none;
}
.category {
    position: relative;
}

.category .img,
.product .img {
	display: block;
    padding-top:65%;
	height: 1px;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;

    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.product .img {
   background-size: cover;
}

.category:hover .img {
    background-size: 120%;
}

.product:hover .img:hover {
/*    background-size: 120%; */
}

.category .img > *,
.product .img > * {
	position: absolute;
}

.category .text {
	position: absolute;
    opacity: 0.6;
	background-color: transparent !important;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 10;
    font-size: 1.8rem;
    font-weight: bold;
    padding-top: 30%;
	
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.category:hover .text {
	opacity: 0.8;
	background-color: #FFF !important;
}


.category + .box-desc {
/*	min-height: 340px; */
}

.category + .box-desc h2 {
    font-weight: 600;
    color: #333;
}

.subCategory-box {
	background-color: #f9f9f9;
	padding: 10px 20px; 
	border: 1px solid #ddd; 
}

#colonne .subCategory-box {
	border: 4px solid #ddd; 
}

#colonne-orizz .subCategory-box {
	border-radius: 5px;
}

#colonne .category-1 .subCategory-box {
	border-color: #28308380; 
}

#colonne .category-2 .subCategory-box {
	border-color: #1e958e99; 
}

#colonne .category-3 .subCategory-box {
	border-color: #a11d1294; 
}

.category-1 .btn-warning,
.category-2 .btn-warning,
.category-3 .btn-warning {
	background-color: #ff7f00;
    color: #fff;
    font-weight: 600;
    padding: 15px;
}

.subCategory-box .product a.title,
.subCategory-box .product a.title:active, 
.subCategory-box .product a.title:focus, 
.subCategory-box .product a.title:visited {
	font-size: inherit !important;
}


.product-sottocategory {
	padding: 0;
}

.product-sottocategory li {
	display: inline-block;
    margin: 3px 10px;
}

.cart-total p span:last-child {
	text-align: right;
}


.product.shop .text {
	min-height: 100px;
}

.product.shop .quantita {
    /* display: inline-block; */
    /* float: right; */
    /* position: absolute; */
    /* bottom: 0; */
    right: 0;
    margin-top: -21px;
    font-size: 12px;
    white-space: nowrap;
    padding: 0 9px;
    opacity: 0.8;
	border-radius: 12px 0 0 0;
}

.product.shop .img:hover .quantita {
    opacity: 1;
}

.product-category li {
    margin: 0 5px;
}

.fileicon {
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 45px;
    margin-bottom: 10px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 35px;
}

.fileicon.pdf {
	background-image: url('/images/icon_file_pdf.png');
}

.fileicon.doc,
.fileicon.docx {
	background-image: url('/images/icon_file_doc.png');
}

.fileicon.xls,
.fileicon.xlsx {
	background-image: url('/images/icon_file_xls.png');
}

.fileicon.txt {
	background-image: url('/images/icon_file_txt.png');
}

.fileicon.jpg,
.fileicon.png,
.fileicon.jpeg,
.fileicon.gif {
	background-image: url('/images/icon_file_img.png');
}

.tag, a:hover .tag {
	display: inline-block;
	padding: 5px 12px;
	background-color: #f1f1f1;
	border-radius: 10px !important;
	margin: 2px 5px;
	text-decoration: none !important;
	box-shadow: none !important;
}


.hero-wrap.hero-bread {
    padding: 5em 0;
}

.hero-wrap .slider-text .bread {
    font-size: 3em;
    font-weight: 500;
    text-transform: none;
}

.img-blocco {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

.cart-list {
    overflow-x: auto;
}

.myIcon {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50px;
    padding: 4px;
    box-sizing: border-box;
    margin: 0 5px;
}

.myIcon span,
.myIcon i {
	font-size: 18px;
}

.mouse {
    margin-top: -30px;
    top: auto;
}

.separatore {
	margin: 0rem 0;
}

.spazioVuoto {
	height:30px;
	background: none !important;
}

.ftco-section {
    padding: 8em 0;
}

@media (max-width: 768px) {
	.ftco-section {
		padding: 2em 0;
	}
}


.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}


#goToTop{
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: inline-block;
    width: 50px;
    height: 50px;
    font-size: 25px;
    text-align: center;
    padding: 12px 0;
    border-radius: 50px;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.1s ease;
}

#goToTop:hover {
    opacity: 1;
}


.product-details .price .minPrice span {
	font-size: 22px;
}




.footer-top h3 {
	line-height: 1.2;
	margin-bottom: 20px;
}

.footer-bottom {
	font-size: 14px;
	line-height: 1.5;
}

.ftco-footer {
    padding-bottom: 0;
}


@media (max-width: 991.98px) {
	
	.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    /* padding-left: 0; */
    /* padding-right: 0; */
    /* padding-top: .9rem; */
    /* padding-bottom: .9rem; */
    text-align: center;
    font-size: 1em;
    padding: 5px;
	}
	
	li.search {
	position: relative;
	}
	
	li.search input {
	height: initial !important;
	font-size: initial !important;
	}
	
	.popup .box {
	top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
	}
	
}