.uk-navbar-item .wpml-ls-legacy-dropdown {
	max-width: 62px !important;
}
div#tm-dialog.uk-dropbar.uk-dropbar-large.uk-dropbar-top.uk-drop.uk-open { 
	max-width: 50vw !important;
}
@media screen and (min-width: 960px) {
	div#tm-dialog.uk-dropbar.uk-dropbar-large.uk-dropbar-top.uk-drop.uk-open .tm-height-min-1-1.uk-flex.uk-flex-column.uk-container-xlarge.uk-margin-auto {
		max-width: 40vw !important;
		width: 100% !important;
		margin-right: 0 !important;
	}
}

.rf-card-hero-home h1 {
	line-height: 0.5;
}

.rf-nav-products {
	padding: 8px 0;
}

.rf-grid-prodotti-home .el-item {
	background: transparent;
}


.rf-right-menu-button {
	border: 1px solid #9e1224;
}
.rf-right-menu-button:hover {
	border: 1px solid #9e1224;
	background: #9e1224;
}

.rf-right-menu-button a { 
	color: #9e1224 !important;
}
.rf-right-menu-button:hover a { 
	color: #fff !important;
}

.menu-items-logo img{
     max-width: 200px;
}

.menu-item > a[aria-expanded="true"] {
    background: red;
}


.rf-right-menu-button  {
	height: 38px;
	align-items: center;
    display: flex;
	color: white;
}

@media screen and (max-width: 640px) {
	.uk-navbar-item, .uk-navbar-nav>li>a, .uk-navbar-toggle {
		min-height: 50px;
	}
	#hero-home {
		padding-top: 0!important;
	}
	.rf-right-menu-button {
		padding: 0 10px;
	}
	table.uk-table.dicono-di-noi tr.el-item > td:nth-child(1) {
		display: none;
	}
}

@media screen and (min-width: 640px) {
	.uk-grid-item-match>:not([class*=uk-width]), .uk-grid-match>*>:not([class*=uk-width]) {
		margin-bottom: 40px;
	}
}

@media screen and (max-width: 400px) {
	.uk-grid-item-match>:not([class*=uk-width]), .uk-grid-match>*>:not([class*=uk-width]) {
		margin-bottom: 0;
	}
	.rf-map-contatti {
		height: 450px!important;
	}
	body p, h3, li{
		font-size: 16px;
	}
	div.el-title {
		font-size: 16px;
		line-height: 21px;
	}
	#tm-dialog-mobile a.rf-nav-products {
		font-size: 16px;
	}
	#tm-dialog-mobile .uk-grid-margin.uk-first-column {
		margin-top: 0;
	}
	body h2{
		font-size: 30px!important;
	}
	
}


.rf-grid-prodotti-home .uk-padding {
    width: auto;
    margin-left: 20px;
	margin-right: 20px;
    background-color: #fbf6f1;
    margin-top: -60px;
    z-index: 1;
    position: relative;
	margin-bottom: 40px;
}
.rf-grid-servizi-home .el-item.uk-tile-muted {
    background-color: #ebf1f4;
}

.rf-counter .counter-container div.uk-overlay {
	line-height: 20px;
}

*+.uk-grid-margin, .uk-grid+.uk-grid, .uk-grid>.uk-grid-margin {
	margin-top: 0;
}


.uk-grid.tm-grid-expand.uk-grid-large.uk-grid-margin-large.uk-grid-stack>div {
	margin:24px;
}

.come-operiamo .el-item:nth-child(3)::before {
	list-style-type: none;
}


/* CUSTOM SWITCHER */

.custom-switcher .uk-width-1-4\@m.el-nav {
	background-color: #f2e6d7;
}
.custom-switcher .el-nav .uk-margin-remove-vertical.uk-active > a {
	color: #9e1224;
	font-weight: bold;
}
.custom-switcher .el-nav > div > a {
	color: #21211f;
}
.custom-switcher .el-nav > div > a:hover {
	color: #9e1224;
}
@media screen and (max-width: 959px) {
	.custom-switcher .uk-width-1-4\@m.el-nav {
		margin-left: 20px;
		margin-bottom: 20px;
	}
	.custom-switcher .el-nav > div {
		width: calc(50% - 40px);
	}
}
@media screen and (max-width: 500px) {
	.custom-switcher .el-nav > div {
		width: calc(100% - 40px);
	}
	.custom-switcher table.uk-table a.el-link.uk-button.uk-button-primary, 
	.uk-accordion a.el-link.uk-button.uk-button-primary {
		padding: 0 10px;
	}
	.custom-switcher table.uk-table a.el-link.uk-button.uk-button-primary span.uk-icon, 
	.uk-accordion a.el-link.uk-button.uk-button-primary span.uk-icon {
		width: 20px;
	}
	*+.uk-grid-margin, .uk-grid+.uk-grid, .uk-grid>.uk-grid-margin {
		margin-top: 20px;
	}
}
