.back-to-top,
.back-to-top:hover,
.back-to-top:visited
{
	background: #ED0000;
}

li.pll-parent-menu-item
{
	position: absolute !important;
	right: 15px;
    /* float: right !important; */
    border: none !important;
}

#off-canvas-menu
{
	padding: 33px 0;
	background: #ED0000;
}

#off-canvas-menu label.toggle
{
	/* width: 1000px; */
	width: 64px;
	height: 44px;
	background: #ED0000;
	padding: 4px;
}

#off-canvas-menu label.toggle img
{
	height: 36px;
}


#off-canvas-menu ul,
#off-canvas-menu ul li
{
	margin: 0 !important;
	padding: 0 !important;
	border: none;
}

#off-canvas-menu ul
{
	border-top: 2px solid #FFFFFF;
}

#off-canvas-menu ul.sub-menu
{
	border: none;
}

#off-canvas-menu li.menu-item a
{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 18px;
	font-weight: bold;	
	margin: 0px;
	padding: 10px 20px !important;
	border-bottom: 2px solid #FFFFFF;
	text-transform: uppercase;
}

#off-canvas-menu ul.sub-menu li.menu-item a
{
	font-size: 15px;
	color: #5E5E5E;

	background: #C8C8C8;
}

nav
{
	transition: none !important;
}

.site-header-menu
{
	background: #ED0000;
}

ul.primary-menu
{
	display: flex;
	flex-direction: row;
	justify-content: center;
}

ul.primary-menu li
{
	/* float: none !important; */
	padding: 6px 20px 4px 20px;
}

/* .site-header-menu a */
ul.primary-menu a
{
	padding: 0px 10px !important;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: bold;
	text-transform: uppercase !important;
	border-top: 2px solid #ED0000;
	border-bottom: 2px solid #ED0000;
}

ul.primary-menu .sub-menu a
{
	padding: 0px !important;
	/* border-top: 2px solid #555; */
	border-top: none;
	border-bottom: 2px solid #555;
}

ul.primary-menu a:hover,
ul.primary-menu .current-menu-item > a
{
	/* text-decoration: underline; */
	border-bottom: 2px solid #FFFFFF;
}

.top-header .container
{
	position: relative;
	padding: 0;
}

.top-header .logo img
{
	margin: 10px;
}


.menu-top-menu-desktop-it-container
{
	position: absolute;
	top: 6px; right: 0;
}

#menu-top-menu-desktop-it
{
	padding: 0;
	margin: 0;
	text-align: right;
	list-style-type: none;
	
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

#menu-top-menu-desktop-it li
{
	display: inline-block;
	border-left: 2px solid #ED0000;
}

#menu-top-menu-desktop-it li:first-child
{
	border-left: none;
}

#menu-top-menu-desktop-it li a
{
	margin: 0px;
	padding: 10px 20px;
	
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
	color: #ED0000;
	
	font-size: 14px;
}

.cbr-slider-fix
{
	margin-top: -32px;
}

@media (max-width: 768px)
{
	#menu-top-menu-desktop-it
	{
		display: none;
	}
	
	.top-header .logo
	{
	    border-bottom: 6px solid #ED0000;
		text-align: center;
	}	

	.cbr-slider-fix
	{
		margin-top: 0px;
	}
}

/* stile tabelle */

.is-style-organigramma
{
	border: none !important;
	vertical-align: text-bottom;
}

/*  */

.single-content-holder
{
    /* margin: 0px -15px; */
	margin: 0px 0px 0px -15px;
}


/*
 *  
 */
.main-footer
{
	position: relative;
	
    background: none;
    border: none;
	
	padding: 72px 0px 32px 0px;
	
  	overflow: hidden;
}

.cbr-triangle
{
  position: absolute;
  top: 2px;
    
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 300px 0 300px 2260px;
  border-color: transparent transparent transparent #F0EDE9;
}

.cbr-triangle.triangle-right
{
  top: 0;
  right: -15%;
  
  border-width: 300px 2260px 300px 0;
  border-color: transparent #ED0000 transparent transparent;
}

.cbr-triangle.triangle-black
{
  top: 0px;
  border-color: transparent transparent transparent #333;
}
/* */


/*
 * Pezza per dimensioni container mobile
 */
@media (max-width: 768px) {
	
	body
	{
		padding-top: 48px !important;
	}
	
   .container {
      width: 100%;
	}

	.main-wrapper.main-margin-top
	{
		margin-top: 25px;
	}
	
	.cbr-navbar-mobile	
	{
		display: block !important;
	}
}
/* */ 

/*
 * CBR Navigation bar mobile
 */
.cbr-navbar-mobile
{
	display: none;
	position: fixed;
	top: 0; right: 0; left: 0;
	
	padding: 4px 8px;
	
	height: 44px;
	background: #ED0000;
	
	z-index: 5;
}

.cbr-navbar-mobile *
{
	opacity: 0;
	transition: all 0.5s;
}

.cbr-navbar-mobile.cbr-active *
{
	opacity: 1;
}

.cbr-navbar-mobile .cbr-navbar-content
{
	color: #FFF;
	line-height: 36px;
	font-size: 20px;
	text-align: right;
	

}

.cbr-navbar-mobile .cbr-navbar-logo
{
	
}
/* */

/*
 * Pezze su pezze
 */
.mobile-navigation
{
    margin-top: 11px;
}

#off-canvas-menu
{
	left: calc(-100% + 64px);
    width: calc(100% - 64px);
}

#off-canvas-menu .toggle
{
    left: 100%;
}

.nav-links .current,
.nav-links .page-numbers:hover
{
	background: #ED0000;
}