@media (min-width: 576px){
	.container {
        width: 100%;
    }
	.header-top .search-widgets {
		max-width: 100%;
	}
}
@media (min-width: 768px) {
    .container {
        width: 100%;
    }
	#header .top-menu a.dropdown-submenu-x[data-depth="0"]:after {
		content: "\f105";
		font-family: "Font Awesome 5 Free";
		position: absolute;
		right: 30px;
		top: 20px;
		font-size: 12px;
		font-weight: 900;
		color:#232323;
		opacity: 0.9;
	}	
	#header .top-menu a.dropdown-submenu-x[data-depth="0"]:hover:after {
		color:#003b73;
	}
}
@media (min-width: 992px) {
    .container {
        width: 100%;
    }
	#search_widget {
		min-width: 401px;
		width: auto;
	}
}
@media (min-width: 1200px) {
    .container {
        width: 100%;
		max-width: 1340px;
		padding:0 30px
    }
	.col-xs-6 {
		padding-right: 12px;
		padding-left: 12px;
	}
}

@media (min-width: 1500px) {
    .container {
        width: 1340px;
		max-width: 100%;
		padding:0 30px
    }
	#header .header-nav .center-search {
		padding: 0 25px 0 0;
	}

	
}
@media (max-width: 1499px) {
	#header .header-nav .center-search {
		width: 35%;
	}
	#header .header-nav .right-nav {
		width: 65%;
	}
}
@media (max-width: 1199px) {
    
	#header .header-nav .center-search {
		width: 35%;
	}
	#header .header-nav .right-nav {
		width: 65%;
	}
	.block_newsletter_inner {
		flex-direction: column;
	}
	.block_newsletter_text {
		width: 100%;
	}
	.block-newsletter-form {
		width: 50%;
	}
	#footer .block_newsletter p.sub-newsletter-label {
		padding: 10px 0 20px;
		max-width: 100%;
	}
	.footer-information-link {
		flex-direction: column;
		padding: 0;
	}
	.footer-information {
		width: 100%;
		order: 2;
	}
	.footer-all-link {
		
	}
	.f-link-item {
		width: 180px;
	}
	.footer-paymentlogo {
		text-align: left;
		order: 1;
		margin: 0 0 25px;
	}
	.footer-Potrai p {
		text-align: left;
	}
	.social-network {
		justify-content: flex-start;
	}
	.group-logo-payment img {
		padding-left: 0;
		padding-right: 16px;
	}
	.footer-Potrai {
		margin: 15px 0 0;
	}
	.social-network li {
		margin-right: 13px;
		margin-left: 0
	}
	.footer-service ul li {
		width: 25%;
		position: relative;
		padding: 65px 0px 3px 0px;
		min-height: 45px;
		background-position: center top !important;
		text-align: center;
	}
	
}
@media (max-width: 1023px) {
	.top-message span.top-spedizioni {
		display: none;
	}
}
@media (max-width: 992px) {
	.menu-static ul li {
		padding-left: 20px;
	}
	.menu-all .toggle-menu {
		font-size: 14px;
	}
	.menu-static ul li a {
		font-size: 14px;
	}
	.footer-service ul li {
		padding: 70px 0 0px 0px;
		text-align: center;
	}
	.footer-service .Pagamento {
		background: url(../images/f-Pagamento.svg) no-repeat center top;
	}
	.footer-service .Spedizione {
		background: url(../images/f-Spedizione.svg) no-repeat center top;
	}
	.footer-service .Assistenza {
		background: url(../images/f-Assistenza.svg) no-repeat center top;
		padding: 70px 0 0 0px;
	}
	.block-newsletter-form {
		width: 100%;
	}
	
}
@media (max-width: 1300px){
	#header .header-nav .right-nav{
		width: 25%;
	}
}
@media (max-width: 767px) {
	#header .top-logo img {
		width: auto;
		max-height: 44px;
	}
	.top-message {
		justify-content: center;
	}
	.header-top-menu .header-top-right{
		display: none;
	}
	.header-top-menu {
		padding: 0;
		border: none;
	}
	
	#mobile_top_menu_wrapper {
		position: fixed;
		top: 0;
		width: 85%;
		padding: 0;
		height: 100vh;
		z-index:10;
	}
	.close-menu {
		position: absolute;
		right: 25px;
		top: 25px;
	}
	#mobile_top_menu_wrapper .close-menu:before {
		content: "";    
		position: absolute;
		top:0;
		right: 0;
		width: 23px;
		height: 23px;
		background: url(../images/close-m.svg) no-repeat center;
	}
	.top-menu-mobile-head {
		min-height: 75px;
		padding: 15px;
		margin: 0 0 80px;
		border-bottom: 1px solid #e9e0d8;
		position: relative;
	}
	#header .top-menu-mobile-head .logo {
		max-width: 140px;
	}
	#header .header-top li.has-sub a[data-depth="0"]:after,#header .header-top li.has-sub a[data-depth="0"]:before {
		display:none;
	}
	#header .header-top li.has-sub.active-m a[data-depth="0"]{
		padding: 18px 0 18px 50px;
	}
	#header .header-top li.has-sub.active-m {
		position: fixed;
		top: 150px;
		background: #fff;
		z-index: 11;
		width: 85%;
	}
	#mobile_top_menu_wrapper .top-menu .sub-menu {		
		height: 100vh;
		overflow-y: scroll;
		padding-bottom: 300px;
		transition: none;
	}
	
	#header .header-top .position-static {
		padding: 0;
	}
	#header .header-top {
		padding: 8px 0 10px;
	}
	#mobile_top_menu_wrapper .js-top-menu.mobile {
		
	}
	#mobile_top_menu_wrapper .top-menu a[data-depth="0"] {
		padding: 18px 0 18px 15px;
		border: none;
		border-bottom: 1px solid #e9e0d8;
		font-size: 20px;
		line-height: 27px;
	}
	#mobile_top_menu_wrapper .top-menu .navbar-toggler {
		/* position: relative; */
	}
	#mobile_top_menu_wrapper .top-menu .navbar-toggler .add {
		font-size: 0;
		background: url(../images/arrow-next-m.svg) no-repeat center;
		position: absolute;
		top: 25px;
		right: 25px;
		width: 18px;
		height: 18px;
	}
	#mobile_top_menu_wrapper .top-menu .navbar-toggler .remove {
		font-size: 0;
		background: url(../images/arrow-back-m.svg) no-repeat center;
		position: absolute;
		top: 25px;
		left: 15px;
		/* display: block; */
		width: 18px;
		height: 18px;
	}
	.top-menu a[data-depth="1"] .scopri-arrow {
		display: none;
	}
	.top-menu a[data-depth="1"] .image-sub-up {
		width: 95px;
	}
	#mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="1"] {
		flex-direction: column;
		justify-content: flex-start;
		
	}
	#mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="1"]>li a {
		text-transform: none;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		flex-direction: initial;
		font-size: 18px;
		line-height: 24px;
	}
	#mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="1"]>li a strong{
		white-space: pre-wrap;
		text-align: left;
		width: 65%;
	}
	.popover::before, .popover::after {
		display: none;
	}
	#header.is-open:before {
		content: "";
		background: #232323;
		opacity: 0.5;
		width: 100%;
		position: fixed;
		height: 100%;
		left: 0;
		top: 0;
		z-index:1;
	}
	#header.is-open .header-top .search-widgets {
		display: block !important;
		z-index:11;
		position: fixed;
		width: 65%;
		left: 15px;
		top: 84px;
		background: none;
	}
	#search_widget form input {
		background: #e9e0d8;
		border-radius: 25px;
		color: #333333 !important;
	}
	.header-top #search_widget input::-webkit-input-placeholder { /* Edge */
		color: #333333 !important;
		font-size: 14px !important;
		font-weight: 300;
		line-height: 20px;
		font-family: 'IBM Plex Sans', sans-serif;
	}
	.header-top #search_widget input:-ms-input-placeholder { /* Internet Explorer 10-11 */
		color: #333333 !important;
		font-size: 14px !important;
		font-weight: 300;
		line-height: 20px;
		font-family: 'IBM Plex Sans', sans-serif;
	}
	.header-top #search_widget input::placeholder {
		color: #333333 !important;
		font-size: 14px !important;
		font-weight: 300;
		line-height: 20px;
		font-family: 'IBM Plex Sans', sans-serif;
	}
	.header-top .search-widgets form button[type="submit"] {
		background-size: 18px;
	}
	.header-top .search-widgets form button[type="submit"]:hover {
		background-size: 18px;
	}
	#search_widget form i.clear {
		display: none !important;
	}
	.ui-autocomplete.searchbar-autocomplete {
		top: 135px !important;
	}
	.footer-paymentlogo {
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		margin: 0 auto;
		max-width: 360px;
	}
	.footer-paymentlogo .f-h6 {
		order: 2;
		margin: 30px 0 20px;
		font-size: 20px;
		font-weight: 800;
		line-height: 26px;
		text-align: center;
		font-family: 'Space Grotesk', sans-serif;
	}
	.footer-paymentlogo .social-network {
		order: 3;
	}
	.group-logo-payment img {
		padding: 0 12px 18px;
	}
	.group-logo-payment .paypal{
		width: 30%;
	}
	.group-logo-payment .postepay{
		width: 35%;
	}
	.group-logo-payment .visa{
		width: 22%;
	}
	.group-logo-payment .master{
		width: 60%;
	}
	
	.footer-Potrai {
		order: 1;
		margin: 0;
	}
	.footer-Potrai p {
		text-align: center;
		margin: 0 0 15px;
	}
	.footer-Potrai p span {
		display: block;
	}
	.footer-service {
		padding: 30px 0 0px;
	}
	.footer-service ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer-service ul li {
		width: 50% !important;
		padding: 50px 0 25px 0px;
	}
	.block_newsletter {
		margin: 0;
		padding: 0;
		border: none;
	}
	.custom-newletter {
		padding: 30px 0px 25px;
	}
	#footer .block_newsletter #block-newsletter-label {
		font-size: 24px;
		line-height: 26px;
		text-align: center;
	}
	#footer .block_newsletter p.sub-newsletter-label {
		font-size: 15px;
		font-weight: 400;
		line-height: 20px;
		max-width: 100%;
		text-align: center;
	}
	.block_newsletter form input.btn.btn-primary {
		font-weight: 700;
		line-height: 15px;
		text-align: center;
		text-transform: uppercase;
		letter-spacing: 0.8666667px;
	}
	.footer-container {
		padding-top: 0px;
	}
	.footer-information {
		display: block;
	}
	.footer-logo {
		width: 100%;
		text-align: center;
		margin: 0 0 30px;
	}
	.social-network {
		justify-content: center;
	}
	.social-network li {
		margin-left: 13px;
		margin-right: 13px;
	}
	.footer-container .social-network li a {
		font-size: 42px;
		font-weight: 400;
		line-height: 30px;
		letter-spacing: 1.666667px;
	}
	.footer-contact {
		width: 100%;
		text-align: center;
	}
	.f-contact-inner ul {
		display: block;
	}
	.f-contact-inner ul li {
		width: 100%;
		padding-right: 0;
	}
	.address-p,.email-p,.phone-p {
		max-width: 100%;
		padding: 15px 0 15px 0px;
	}
	.address-p:before,.email-p:before,.phone-p:before {
		top: 0;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.f-h4 {
		margin: 35px 0 0px;
	}
	.f-contact-inner ul li p.email-p {
		margin: 0;
	}
	.f-link-item {
		width: auto;
		text-align: center;
	}
	.f-expand {
		display: block;
	}
	.footer-all-link {
		display: none;
	}
	.footer-all-link.open1 {
		width: 100%;
		display: flex;
		justify-content: center;
		flex-direction: column;
	}
	.footer-bottom-inner {
		flex-direction: column;
		padding: 0;
	}
	.footer-payment {
		order: 1;
		border-bottom: 1px solid #eee;
		padding: 0 0 25px;
		width: 100%;
		text-align: center;
	}
	.footer-copyright {
		order: 2;
		padding: 0px 0 0;
	}
	.footer-bottom {
		border-top: 0px solid #eee;
		padding: 15px 0;
		margin: 0 0 0;
	}
	.block_newsletter .custom_check span {
		padding-left: 50px;
	}
	.block_newsletter .custom_check span:before {
		width: 35px;
		height: 35px;
	}
	.block_newsletter .custom_check input[type="checkbox"]:checked+span:after {
		left: 5px;
		top: 7px;
		width: 25px;
		height: 25px;
	}
	#footer .block_newsletter p, .block_newsletter form .row .col-xs-12:last-of-type p {
		line-height: 40px;
	}

}
@media (max-width: 480px) {
	.footer-all-link.open1 {
		display: block;
		text-align: center;
	}
	.f-link-item {
		width: 100%;
		text-align: center;
		margin: 0 0 25px;
	}
	.f-link-item:last-child {
		margin: 0;
	}
}
@media (max-width: 360px) {
	#footer .block_newsletter #block-newsletter-label {
		font-size: 18px;
	}
}