html,
body {
    height: 100%;
}

@media (min-width: 1400px) {
  .container {
    width: 1370px;
  }
}

@media (min-width: 1600px) {
  .container {
    width: 1570px;
  }
}

.row h1 {margin: 0;}

.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;
}

/* -------- Basic -------- */

.panel-bg {
	background-color: #f9f9f9;
}

.well {
	min-height: 40px;
}

@media (max-width: 992px) {
	.panel-body .panel-title { margin-bottom: 5px; }
}

.logo-image {
	margin: 40px auto;
}

.cestinato {
	color: #d9534f;
	/* -- .alert .alert-danger -- .label .label-danger --
	color: #a94442;
	background-color: #f2dede;
	padding: .2em .6em .3em;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
	border: 1px solid #ebccd1;*/
}

.table-fatture {
	/*padding: 0;*/
	max-height: 980px;
	overflow: auto;
	font-size: 13px;
}

.filters .form-control {
	padding: 6px 3px;
}

.daterangepicker .calendar {
    max-width: none;
}

/* -------- editable -------- */

.editable-container .select2-default, .editable-container .select2-choice{
	min-width: 30em;
}

.fatture-view .editable-container textarea {
	min-width: 30em;
}

/* -------- GridView -------- */

.grid-view td a {
	word-wrap: break-word;
	word-break: break-all;
}

.grid-view td .nowrap{
	white-space: nowrap;
	word-wrap: normal;
	word-break: normal;
}

/* --------- Select 2 override ----------- */

.select2-container .select2-choice .select2-arrow, .select2-container .select2-choice div {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-left: 1px solid #cccccc;
}
.select2-container .select2-choice {
    height: 34px;
    line-height: 1.45;
}
.select2-container .select2-choices .select2-search-field input, .select2-container .select2-choice, .select2-container .select2-choices {
    background: none repeat scroll 0 0 #ffffff;
    border-color: #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    padding: 0;
}

/* --------- Calendar override ----------- */

.datepicker-dropdown {
	z-index: 5000 !important;
}
