html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.custom-logo{
	display: block;
	line-height: 50px;
	text-align: center;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	font-size: 1.6em;
	font-weight: bold;
	position:relative;
	z-index:1300;
}
.nomeApp{
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.85em;
	font-weight: bold;
	line-height: 50px;
	width: 190px;
	padding-left: 8px;
	color: #565655;
}
.punto-rosso{
	color: #df131c;
}
.logout{
	float: right;
	height: 100%;
	width: 100px;
	font-size: 1.5em;
	margin-right: 10px;
}
.logout a{
	color: #565655 !important;
	line-height: 50px;
	font-weight: bold;
}
.logout i{
	color: #df131c !important;
}
.td-label{
	width: 20%;
}
.td-action{
	width: 5%;
}
.table-input{
	width:95%;
}
.allineaBtn{
	margin-top: 20px;
	margin-bottom: 10px;
}
.logo-container{
	max-width:180px;
}
.rotate{
	min-height:20px;
	width:30px;
}
.logo-cut{
	margin-right:20px;
	border-right:0;
}
.logo-cut:after{
	content: " ";
	position: absolute;
    display: block;
    width: 210px;
    height: 50px;
    top: -3px;
    left: -30px;
    z-index: 1200;
       
    border:3px solid #df131c;
    background-color: rgb(223, 19, 28);
    border-left: 0px;
    
    transform-origin: bottom left;
    -ms-transform: skew(-30deg, 0deg);
    -webkit-transform: skew(-30deg, 0deg);
    transform: skew(-30deg, 0deg);
}
.float-right{
	float:right;
}

.amministrazione{
	height: 100%;
	font-size:1.4em;
	padding-left: 10px;
	padding-right: 10px;
	margin-right:10px;
	text-align:center;
	border-right: #565655 2px solid;
	border-left: #565655 2px solid;
}
.amministrazione a{
	line-height: 50px;
	color: #565655 !important;
	font-weight: bold;
}
@media(max-width:378px) {
    .amministrazione{
		font-size:1.2em;
		padding-left: 5px;
		padding-right: 5px;
		margin-right:10px;
		text-align:center;
		border-right: #565655 2px solid;
		border-left: #565655 2px solid;
	}
}

.td-select2{
	min-width:85%;
	max-width:85%;
}
.tr-warning{
	background-color: #ffeeba !important;
}
.navbar-custom-menu{
	margin-right: 10px;
	border-right: solid #565655 2px;
}
.glyph-success{
	color: #00a65a;
}
.glyph-error{
	color: #dd4b39;
}
.bold{
	font-weight: bold;
}
.text-red{
	color: red;
}

@media(max-width:767px) {
    .logo {
    	width:100%;
    }
    .custom-logo{
    	background-color: rgb(223, 19, 28);
    }
    .logo-cut{
    	width:103%;
    }
}

@media only screen and (max-width: 700px){
	
	#totEstratto{
		margin-bottom:10px;
	}

	/* Force table to not be like tables anymore */
	.table-mobile table,.table-mobile thead, .table-mobile tbody, .table-mobile th, .table-mobile td, .table-mobile tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.table-mobile thead tr { 
		display: none;
/* 		position: absolute; */
/* 		top: -9999px; */
/* 		left: -9999px; */
	}
	
	.table-mobile tr { border: 1px solid #ccc; }
	
	.table-mobile td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		text-align:left;
	}
	
	.table-mobile td:before { 
		/* Now like a table header */
		display: inline-block;
		top: 6px;
		left: 6px;
		width: 50%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	#table-ddt td:nth-of-type(1):before { content: "Numero"; }
	#table-ddt td:nth-of-type(2):before { content: "Data"; }
	#table-ddt td:nth-of-type(3):before { content: "Codice Articolo"; }
	#table-ddt td:nth-of-type(4):before { content: "Descrizione"; }
	#table-ddt td:nth-of-type(5):before { content: "Prezzo Unitario"; }
	#table-ddt td:nth-of-type(6):before { content: "Quantità"; }
	#table-ddt td:nth-of-type(7):before { content: "Unità di misura"; }
	#table-ddt td:nth-of-type(8):before { content: "Totale riga"; }
	
	#estrattoConto td:nth-of-type(1):before { content: "Data Registrazione"; }
	#estrattoConto td:nth-of-type(2):before { content: "Numero Documento"; }
	#estrattoConto td:nth-of-type(3):before { content: "Data Documento"; }
	#estrattoConto td:nth-of-type(4):before { content: "Descrizione Operazione"; }
	#estrattoConto td:nth-of-type(5):before { content: "Dare"; }
	#estrattoConto td:nth-of-type(6):before { content: "Avere"; }
	#estrattoConto td:nth-of-type(7):before { content: "    "; }
	
	#estrattoConto #totEstratto td:nth-of-type(1):before { display:none; }
	#estrattoConto #totEstratto td:nth-of-type(1) { text-align:center; }
	#estrattoConto #totEstratto td:nth-of-type(2):before { content: "Dare"; }
	#estrattoConto #totEstratto td:nth-of-type(3):before { content: "Avere"; }
	#estrattoConto #totEstratto td:nth-of-type(4):before { display:none; }
	
	#estrattoConto #totStoricoEstratto td:nth-of-type(1):before { display:none; }
	#estrattoConto #totStoricoEstratto td:nth-of-type(1) { text-align:center; }
	#estrattoConto #totStoricoEstratto td:nth-of-type(2):before { content: "Dare"; }
	#estrattoConto #totStoricoEstratto td:nth-of-type(3):before { content: "Avere"; }
	#estrattoConto #totStoricoEstratto td:nth-of-type(4):before { display:none; }
}