/* box messaggi */
.msg {
	width: 450px;
	margin: 50px auto 50px auto;
	padding:20px;
	background: #ECFAE3;
	color:#777;
	text-align:center;
	-webkit-box-shadow: 5px 5px 8px 2px #d1d1d1;
	-moz-box-shadow: 5px 5px 8px 2px #d1d1d1;
	box-shadow: 5px 5px 8px 2px #d1d1d1; 
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-moz-border-radius-bottomright: 6px;
	-moz-border-radius-bottomleft: 6px;
	border:1px solid #C0C0C0;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px; 
	overflow: hidden;
}

/* MENU LIVELLO 3 
-------------------------------------------------- */
	.dropdown-submenu {
		position: relative;
	}
	.dropdown-submenu>.dropdown-menu {
		top: 0;
		left: 100%;
		margin-top: -6px;
		margin-left: -1px;
		-webkit-border-radius: 0 6px 6px 6px;
		-moz-border-radius: 0 6px 6px;
		border-radius: 0 6px 6px 6px;
	}
	.dropdown-submenu:hover>.dropdown-menu {
		display: block;
	}
	.dropdown-submenu>a:after {
		display: block;
		content: " ";
		float: right;
		width: 0;
		height: 0;
		border-color: transparent;
		border-style: solid;
		border-width: 5px 0 5px 5px;
		border-left-color: #ccc;
		margin-top: 5px;
		margin-right: -10px;
	}
	.dropdown-submenu:hover>a:after {
		border-left-color: #fff;
	}
	.dropdown-submenu.pull-left {
		float: none;
	}
	.dropdown-submenu.pull-left>.dropdown-menu {
		left: -100%;
		margin-left: 10px;
		-webkit-border-radius: 6px 0 6px 6px;
		-moz-border-radius: 6px 0 6px 6px;
		border-radius: 6px 0 6px 6px;
	}

/* images rubriche 
-------------------------------------------------- */
	.img-alpha {
		 opacity: 0.5;
		 filter: alpha(opacity=50); /* For IE8 and earlier */
	 }
	.img-alpha:hover {
		 opacity: 1.0;
		 filter: alpha(opacity=100); /* For IE8 and earlier */
	 }


/* LOGIN PAGE 
-------------------------------------------------- */
	.login-form {
		padding: 30px;
		border: 1px solid rgba(0,0,0,0.1);  
		max-width:400px;
		margin-left:auto;
		margin-right:auto;
	}

/* Sticky footer styles
-------------------------------------------------- */
	html {
		position: relative;
		min-height: 100%;
	}
	body {
		margin-bottom: 20px;
	}
	.wrap {
		min-height: 100%;
		height: auto !important;
		height: 100%;
		width:98%;
		margin: 0 auto -20px;
	}
	.footer {
		position:fixed;
		bottom: 0;
		width: 100%;
		background-color: #dddddd;
		padding-left:10px;
		padding-right:10px;
		border:1px solid #C0C0C0;
		margin-top:10px;
	}
	.footer, .push {
		height: 20px; /* .push must be the same height as .footer */
	}
	.footer > .container {
		padding-right: 15px;
		padding-left: 15px;
	}
	.footer > .container .text-muted {
		margin: 20px 0;
	}
@media (max-width: 480px) {
	.footer {
		margin-left: -10px;
		margin-right: -10px;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: -10px;
		padding-bottom: 0;
		font-size:9px;
	}
	.footer, .push {
		height: 15px; /* .push must be the same height as .footer */
	}
}

/* Elenchi (_list) style
-------------------------------------------------- */
	.row-tit {
		background-color:#EEEEEE;
		border:1px solid #C0C0C0;
		margin-bottom:5px;
		padding:5px;
	}
	.row-tit small{
		color:#999999;
		}
	/* select filter */
	.sel-xs {
		height:30px;
		padding:5px 10px;
		font-size:12px;
	}
	/* button filter */
	.btn-xs {
		height:26px;
	}
	/* button operazioni */
	.btn-custom, .btn-responsive {
		width:120px;
		margin:5px 10px;
		padding:8px;
	}

/* VARIANTI
-------------------------------------------------- */

/* placeholder */
.form-control::-moz-placeholder{font-size:1.0em;}
.form-control:-ms-input-placeholder{font-size:1.0em;}
.form-control::-webkit-input-placeholder{font-size:1.0em;}

.well-custom {
	border-radius: 0 !important;
	padding:3px 25px 0px 25px;
	font-size:15px;
	height:28px;
	color:#337ab7;
	}
.well-custom small{
	color:#999999;
	}

.input-xs {
    height: 26px;
    padding: 2px;
	margin-bottom:0px;
    line-height: 1.5;
    border-radius: 3px;
	min-width:50px;
    }

.table .th-custom {
	background-color:#f5f5f5!important
	}

/* PRINT
-------------------------------------------------- */
@media print
{    
    .noprint, .noprint * {
        display: none !important;
    }
 	.print-page	{ 
		margin:0px;
		height: 750px; 
		width: 800px; 
		filter: progid:D/XImageTransform.Microsoft.BasicImage(Rotation=1);
	} 
 	.print-table {
		table-layout:fixed;
		width:205mm;
		border-collapse:collapse;
		background-color:#FFFFFF;
		margin-left:auto;
		margin-right:auto;
	}
 	.print-table.pagebreak {
		page-break-before:always;
	}
 	.print-table.nopagebreak {
		page-break-before:avoid;
	}
 	.print-table tr	{
		page-break-inside: avoid;
	}
 	.print-table td, .print-table th {
		font-size: 8pt;
		valign:top;
		border-collapse: collapse;
		border:1px solid black;
		bgcolor:#FFFFFF;
	}
	.print-table caption { 
		text-align:left;
		font-size:12pt;
		font-style:bold;
	}
}

@media screen 
{
	@page {margin-top:10pt;margin-bottom:10pt;margin-left:5pt;margin-right:5pt;font-size: 8pt;}
 	body 
	{	
		margin:0;margin-top:0;
	}
 	.print-table {
		table-layout:fixed;
		width:210mm;
		border-collapse:collapse;
		background-color:#FFFFFF;
		margin-left:auto;
		margin-right:auto;
	}
 	.print-table.pagebreak {
		page-break-before:always;
	}
 	.print-table.nopagebreak {
		page-break-before:avoid;
	}
 	.print-table tr	{
		page-break-inside: avoid;
	}
 	.print-table td, .print-table th {
		font-size: 8pt;
		valign:top;
		border-collapse: collapse;
		border:1px solid black;
		bgcolor:#FFFFFF;
	}
	.print-table caption { 
		text-align:left;
		font-size:14pt;
		font-style:bold;
	}
 	..scherm {
		display:none;
	}
}
/* --------------------------------------------------------------------------------*/
/*
TEXT (responsive with media queries)
*/
/* Large desktops and laptops */
@media (min-width: 1200px) {
	.textHuge {
		font-size: 110px;
		line-height: normal;
	}
	.textxxLarge {
		font-size: 60px;
		line-height: normal;
	}
	.textxLarge {
		font-size: 40px;
		line-height: normal;
	}
	.textLarge {
		font-size: 36px;
		line-height: normal;
	}
	.textxxMedium {
		font-size: 26px;
		line-height: normal;
	}
	.textxMedium {
		font-size: 18px;
		line-height: normal;
	}
	.textMedium {
		font-size: 16px;
		line-height: normal;
	}
	.textRegular {
		font-size: 14px;
		line-height: normal;
	}
	.textSmall {
		font-size: 11px;
		line-height: normal;
	}
	.textMini {
		font-size: 9px;
		line-height: normal;
	}
}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
	.textHuge {
		font-size: 77px;
		line-height: normal;
	}
	.textxxLarge {
		font-size: 42px;
		line-height: normal;
	}
	.textxLarge {
		font-size: 28px;
		line-height: normal;
	}
	.textLarge {
		font-size: 26px;
		line-height: normal;
	}
	.textxxMedium {
		font-size: 18px;
		line-height: normal;
	}
	.textxMedium {
		font-size: 16px;
		line-height: normal;
	}
	.textMedium {
		font-size: 14px;
		line-height: normal;
	}
	.textRegular {
		font-size: 12px;
		line-height: normal;
	}
	.textSmall {
		font-size: 11px;
		line-height: normal;
	}
	.textMini {
		font-size: 9px;
		line-height: normal;
	}
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {

	.textHuge {
		font-size: 54px;
		line-height: normal;
	}
	.textxxLarge {
		font-size: 30px;
		line-height: normal;
	}
	.textxLarge {
		font-size: 22px;
		line-height: normal;
	}
	.textLarge {
		font-size: 18px;
		line-height: normal;
	}
	.textxxMedium {
		font-size: 16px;
		line-height: normal;
	}
	.textxMedium {
		font-size: 14px;
		line-height: normal;
	}
	.textMedium {
		font-size: 12px;
		line-height: normal;
	}
	.textRegular {
		font-size: 12px;
		line-height: normal;
	}
	.textSmall {
		font-size: 11px;
		line-height: normal;
	}
	.textMini {
		font-size: 9px;
		line-height: normal;
	}
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	.textHuge {
		font-size: 38px;
		line-height: normal;
	}
	.textxxLarge {
		font-size: 24px;
		line-height: normal;
	}
	.textxLarge {
		font-size: 22px;
		line-height: normal;
	}
	.textLarge {
		font-size: 18px;
		line-height: normal;
	}
	.textxxMedium {
		font-size: 16px;
		line-height: normal;
	}
	.textxMedium {
		font-size: 14px;
		line-height: normal;
	}
	.textMedium {
		font-size: 12px;
		line-height: normal;
	}
	.textRegular {
		font-size: 12px;
		line-height: normal;
	}
	.textSmall {
		font-size: 11px;
		line-height: normal;
	}
	.textMini {
		font-size: 9px;
		line-height: normal;
	}
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
	.textHuge {
		font-size: 32px;
		line-height: normal;
	}
	.textxxLarge {
		font-size: 22px;
		line-height: normal;
	}
	.textxLarge {
		font-size: 20px;
		line-height: normal;
	}
	.textLarge {
		font-size: 16px;
		line-height: normal;
	}
	.textxxMedium {
		font-size: 14px;
		line-height: normal;
	}
	.textxMedium {
		font-size: 13px;
		line-height: normal;
	}
	.textMedium {
		font-size: 11px;
		line-height: normal;
	}
	.textRegular {
		font-size: 10px;
		line-height: normal;
	}
	.textSmall {
		font-size: 9px;
		line-height: normal;
	}
	.textMini {
		font-size: 8px;
		line-height: normal;
	}
	.pagination-sm > li > a,
	.pagination-sm > li > span {
		font-size: 10px;
		line-height: normal;
		padding: 2px 5px;
	}
}
/* font style */
	.font-bold {
		font-style: bold; 
	}
	.font-oblique {
		font-style: oblique;
	}
	.font-italic {
		font-style: italic;		
	}
	.font-normal{
		font-style: normal; 
	}
/* font decoration */
	.text-line-through {
		text-decoration: line-through;
	}
	.text-overline {
		text-decoration: overline;
	}
	.text-underline {
		text-decoration: underline;
	}
	.text-underline {		
		text-decoration: underline;	
	}
	
/* --------------------------------------------------------------------------------*/
/* TESTO */
@media screen and (max-width: 992px) {
  p,.btn,input,div,span,h4 {
    font-size: 98%;
  }
  h1 {
    font-size: 24px;  
  }
  h2 {
    font-size: 22px;  
  }
  h3 {
    font-size: 20px;  
  }
}

@media screen and (max-width: 768px) {
  p,.btn,input,div,span,h4 {
    font-size: 97%;
  }
  h1 {
    font-size: 22px;  
  }
  h2 {
    font-size: 20px;  
  }
  h3 {
    font-size: 18px;  
  }
}
	
@media screen and (max-width: 320px) {
	p,.btn,input,div,span,h4,blockquote {
		font-size: 96%;
	}
	h1 {
		font-size: 20px;  
	}
	h2 {
		font-size: 18px;  
	}
	h3 {
		font-size: 16px;  
	}
}
	
/* ----------------------- Tables on small devices --------------------------------------- */
	#no-more-tables { 
		margin-top:5px;
		margin-bottom:5px;
	}
	#no-more-tables thead { 
		color:#fff; /*#9d9d9d;*/
		background-color:#337ab7; /* #2a2a2a #337ab7 #3a3a3a */
	}
	
@media only screen and (max-width: 768px),(min-device-width: 768px) and (max-device-width: 1024px) 	{
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	#no-more-tables tr { 
		border: 1px solid #ccc; 
	}
	#no-more-tables td { 
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		text-align:left;
	}
	#no-more-tables td:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
		color:#337ab7;
	}
	#no-more-tables td:before { 
		content: attr(data-title); 
	}
}	
/* --------------------------------------------------------------------------------*/
/* navbar */
/* --------------------------------------------------------------------------------*/
	.navbar {border-radius:0}

@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}
