/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Hanlding Updates
-----------------------------------------------------------------*/

#logo {
    margin-right: 0px;
}


#primary-menu.sub-title > ul > li > a span, #primary-menu.sub-title > div > ul > li > a span {
    text-transform: none;
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
	font-family: 'Roboto Condensed', sans-serif !important;
	font-weight:400;
	letter-spacing:-0.01em;
}
#primary-menu.sub-title > ul > li > a div, #primary-menu.sub-title > div > ul > li > a div {
	font-family: 'Roboto Condensed', sans-serif !important;
	font-size:16px;
	font-weight:700;
	letter-spacing:-0.01em;
}
#primary-menu.sub-title > ul > li > a span, #primary-menu.sub-title > div > ul > li > a span {
	font-size:12px;
}
#primary-menu.sub-title > ul > li:nth-child(1):hover > a {
	background-color:#ffb400;
}
#primary-menu.sub-title > ul > li:nth-child(2):hover > a {
	background-color:#83b728;
}
#primary-menu.sub-title > ul > li:nth-child(3):hover > a {
	background-color:#339999;
}
#primary-menu.sub-title > ul > li:nth-child(4):hover > a {
	background-color:#0099cc;
}
#primary-menu.sub-title > ul > li:nth-child(5):hover > a {
	background-color:#0079c9;
}
.portfolio-desc strong {
	font-weight:normal;
	text-transform:uppercase;
	display:block;
}

.fbox-media{
	position: relative;
	width: 50%;		/* desired width */
}
.fbox-media:before{
	content: "";
	display: block;
	padding-top: 50%; 	/* initial ratio of 1:1*/
}
.fbox-media-content{
	position:  absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow:hidden;
	background-color:#eee;
}

.feature-box.media-box .fbox-media a {
	margin:-12.5% 0;
}
.feature-box h5 {
	margin-bottom:0;
}
.feature-box.media-box p {
	margin-top:8px;
	margin-bottom:24px;
}

.footer-logo {
	opacity:0.25;
	margin-top:-50px;
}

#Testo table {
	margin-bottom:0 !important;
	width:100% !important;
}
#Testo table img {
	display:inherit !important;
}
#Testo table img[src*="Spaziatore.gif"] {
	display:inline-block;
	float:left;
}
#page-title.settore15 {
	background-color:#a97700;
}
#page-title.settore16 {
	background-color:#57791b;
}
#page-title.settore19 {
	background-color:#226565;
}
#page-title.settore20 {
	background-color:#006587;
}
#page-title.settore21 {
	background-color:#005085;
}
.page-title-dark .breadcrumb {
	color:rgba(255,255,255,0.7)
}
.Mod_05_content td {
	width:25% !important;
}
#side-navigation ul li a:hover {
	background-color:#0068a6;
}
#side-navigation ul li a div {
	color:#0068a6;
}
#side-navigation ul li a:hover div {
	color:#fff;
}
.footer-logo {
    margin-bottom: 38px;
}
.footer-widgets-wrap .col_one_third .widget p {
	line-height:22px;
}
.SponsorRand {
	margin-bottom:16px;
}
.well {
    background-color: #6eb0d7;
    border: 1px solid #2286c2;
}
.well h4 {
	color:#fff;
}
.well hr {
	border-top: 1px solid #2286c2;
	margin-top:0.5em;
}
