/*
Theme Name: WMD Theme
*/

/*html :where(img){height:inherit;max-width:none;}*/.footer {
    background: #747272 !important;
}
#xr_xr
{
	position:relative;
}
body
{
	font-family:Arial,sans-serif;
}
#navigation ul.wp-menu
{
	justify-content:start !important;
}
.container {
    box-sizing: border-box;
		padding:0 15px !important;
}
img.xr_rn_.xr_ap[onmousemove="xr_mo(this,0,event)"], img.xr_rn_.xr_ap[alt="VOLTAGGI, PRESE, CONSIGLI"], img.xr_rn_.xr_ap[alt="LA VALIGIA"],img.xr_rn_.xr_ap[alt="PRONTO SOCCORSO BIMBI"],img.xr_rn_.xr_ap[alt="CONVERSIONI UNITA', VALUTA E FUSI ORARI"],img.xr_rn_.xr_ap[alt="CONTATTI"], span.xr_tl.xr_s6, .xr_tl.xr_s0{
	display:none;
}
@media only screen and (max-width: 991.98px){
div#xr_xr
{
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    margin-left: 0 !important;
}
div#xr_xrii	{
    width: 100%;
    height: 100%;
    min-width: 100% !important;
    min-height: 1550px;
    top: 0%;
    left: 0%;
}
	.xr_ap.xr_xri_ img,.xr_ap.xr_xri_,span.xr_ar{
    width: 100% !important;
}
div#xr_xrc1
	{
		width:100%;
	}
}

.footer {
    padding: 20px 10px;
    background: #464646;
    text-align: center;
    position: relative;
    z-index: 999;
    margin-top: 20px;
    box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6 
{
	margin-bottom:10px;
	margin-top:10px;
	line-height:120% !important;
}
body {
    font-family: Arial, sans-serif;
}
.menu-item-has-children::after {
    content: "";
    width: 5px;
    height: 5px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    position: absolute;
    rotate: -45deg;
    right: 6px;
    top: 5px;
}
.header-section {
    flex-flow: inherit !important;
    flex-wrap: inherit !important;
    width: 100%;
}
.wp-menu li a {
    color: #000;
    display: block;
    text-decoration: none;
    font-size: 17px;
}
.menu-item-has-children a  
{
    padding-right:1em !important;
}
ul.wp-menu li 
{
	position:relative;
}
ul.sub-menu {
    position: absolute;
    background: #ff2d2d;
    width: 180px;
    padding: 5px;
    border-top: 1px solid #fff;
    display: none;
	margin:0;
	z-index:999;
	right:0;
}
ul.wp-menu li:hover ul.sub-menu 
{
	display:block;
}
ul.sub-menu li 
{
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 5px 0 !important;
    display: inline-block;
}
ul.sub-menu li a 
{
    padding: 0 10px !important;
		color:#fff;
		display:inline-block;
		word-break:break-word;
}
ul.sub-menu li 
{
    background: none !important;
}
.mobile-menu 
{
	display:none;
}
ul.wp-menu {
    display: flex;
    gap: 20px;
		flex-wrap:wrap;
		list-style:none;
}
span.toggle-menu,span.dropdown-icon
{
	display:none;
}
div#xr_td {
    padding: 10px 0;
}
div#xr_xr
{
	margin:0 auto !important;
	left:0 !important;
}
.xr_ap.xr_xri_
{
	width:100%;
	margin:0 auto;
}
@media screen and (max-width: 992px) 
{
	body #page 
	{
		 width:95%;
	}
		.xr_xrc, .xr_xri_, .xr_sxri, .xr_xpos {
    z-index: -999;
}
    body div#xr_xr {
        height: 100% !important;
        z-index: -999;
    }
	#header .titre_site 
	{
    width: auto;
	}
	#content.accueil #center 
	{
    width: 100%;
	}
#right 
	{
		display:none;
	}
#center {
    width: 100%;
    float: left;
}
#g_nav 
	{
		display:block;
	}
	.mobile-menu
	{
		display: block !important;
	}
	ul.wp-menu 
	{
    gap: 0px;
    flex-wrap: wrap;
    padding: 10px;
	}
	#header, #header .main_nav 
	{
    position: relative;
	}
	nav .wp-menu
	{
		display:none;
	}
	#header .main_nav 
	{
    height: 35px;
	}
    .wp-menu {
        background: #333333;
        position: absolute;
        width: 100%;
        top: 83px;
        left: 0;
        margin: 0;
        z-index: 9999;
    }
.wp-menu li 
	{
		background:none;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #000;
  }
	ul.wp-menu li a
	{
		color:#fff;
	}
	.wp-menu a 
	{
    padding: 10px; 
	}
ul.sub-menu 
	{
    position: relative;
    width: 100%;
    padding: 0px 0px 0px 25px;
    border-top: 0;
    display: block;
}
ul.sub-menu li 
	{
			border-bottom: 0 !important;
		border-top: 1px solid #fff;
}
	.menu-item-has-children::after 
	{
    display:none;
  } 
	#logo 
	{
        max-width: 50%;
        margin-left: 0; 
	}
    span.toggle-menu {
        position: absolute;
        right: 7px;
        top: 10px;
				display:block;
				color:#fff;
    }
	    .mobile-menu {
        display: block !important;
        position: absolute;
        right: 15px;
        top: 28px;
    }
		    .mobile-menu i 
	{
		font-size:25px;
	}
body header ul li.menu-item-has-children ul
	{
		position:relative;
	}
}
@media screen and (max-width: 767px) 
{
	#g_nav 
	{
		display:block;
	}
	.mobile-menu
	{
		display: block !important;
	}
	ul.wp-menu 
	{
    gap: 0px;
    flex-wrap: wrap;
    padding: 10px;
	}
	#header, #header .main_nav 
	{
    position: relative;
	}
	nav .wp-menu
	{
		display:none;
	}
	#header .main_nav 
	{
    height: 35px;
	}
    .wp-menu {
        background: #333333;
        position: absolute;
        width: 100%;
        top: 83px;
        left: 0;
        margin: 0;
        z-index: 9999;
    }
.wp-menu li 
	{
		background:none;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #000;
  }
	ul.wp-menu li a
	{
		color:#fff;
	}
	.wp-menu a 
	{
    padding: 10px; 
	}
ul.sub-menu 
	{
    position: relative;
    width: 100%;
    padding: 0px 0px 0px 25px;
    border-top: 0;
    display: block;
}
ul.sub-menu li 
	{
			border-bottom: 0 !important;
		border-top: 1px solid #fff;
}
	.menu-item-has-children::after 
	{
    display:none;
  } 
	#logo 
	{
        max-width: 50%;
        margin-left: 0; 
	}
    span.toggle-menu {
        position: absolute;
        right: 7px;
        top: 10px;
				display:block;
				color:#fff;
    }
	    .mobile-menu {
        display: block !important;
        position: absolute;
        right: 15px;
        top: 28px;
    }
		    .mobile-menu i 
	{
		font-size:25px;
	}
body header ul li.menu-item-has-children ul
	{
		position:relative;
	}
}