/* Overlay */
body {
	background: none;
  /* background-image: url(../images/osticket-backgroud.jpg); */
  /* background-size: cover; */
}
html, body {
  height: 100%;
}
#header {
  background: #fff;
}
#container {
  background: rgba(255, 255, 255, 0.85);
  width: auto;
  min-height: 100%;
  height: auto !important;
  margin: 0 auto -90px;
}
form, #reply {
  /* margin-bottom: 90px; */
/* padding: 50px 0px; */
}

#content {
	font-size: 16px;
  max-width: 75%;
  margin: 0px auto;
  /* min-width: 400px; */
  /* min-height: 100%; */
  /* background: #F5F5F5; */
  /* opacity: 0.9; */
  /* padding: 50px 50px 50px 50px; */
}

.error {
  color: #b31e23 !important;
  font-weight: bold;
}
/* .error::after { */
  /* font-size: 9px; */
  /* content: "Campo obbligatorio"; */
/* } */

#reply {
  background: none;
  border: none;
}


div#container {
  width: 100% !important;
  min-width: 750px !important;
}

.main-content {
	width: 100%;
  min-width: 565px !important;
  text-align: justify;
}
#container h1,
.main-content h1 {
	font-size: 24px;
  font-weight: bold;
  color: #336097;
}

.sidebar {
	/*width: 25%;*/
  min-width: 215px !important;
}

table {
  width: 100% !important;
}

a, .link {
  color: #336097 !important;
  text-decoration: none !important;
  margin-bottom: 0px !important;
  max-height: initial !important;
}
a:hover, .link:hover {
  color: #c1191a !important;
  border-bottom: none !important;
}
a.action-button:hover {
  border-bottom: 1px solid #aaa !important;
}

.message th:nth-child(1) {
  width: 20% !important;
}
.message th:nth-child(2) {
  width: 30% !important;
}
.message th:nth-child(3) {
  width: 30% !important;
}
.message th:nth-child(4) {
  width: 20% !important;
}

h1 {
    color: #0c5c73;
    font-weight: normal;
    font-size: 20px;
}

input[type="button"], input[type="reset"], input[type="submit"] {
	background: #222;
	display: inline-block;
	font-size: 16px;
	padding: 8px 16px 6px 16px;
	max-width: 220px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	position: relative;
	/*margin-bottom: 35px;*/
  margin-bottom: 0px !important;
	cursor: pointer;
	font-family: helvetica, arial, sans-serif;
	border: none;
}
input[type="submit"], input[type="submit"]:visited {
	color: #FFF;
	background: #c1191a;
	border-color: #b31e23;
	background-image: linear-gradient(to bottom, #c1191a 0%, #991316 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFc1191a', endColorstr='#FF991316', GradientType=0);
	border-color: #991316;
}
input[type="reset"], input[type="reset"]:visited {
	color: #FFF;
	background: #336097;
	border-color: #0a5064;
	background-image: linear-gradient(to bottom, #336097 0%, #132439 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF336097', endColorstr='#FF132439', GradientType=0);
	border-color: #132439;
}

.button,
.button:visited {
  border-bottom: 0;
}
.button, .button:visited, .green.button, .green.button:visited {
	color: #fff !important;
	background: #336097;
	border-color: #0a5064;
	background-image: linear-gradient(to bottom, #336097 0%, #132439 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF336097', endColorstr='#FF132439', GradientType=0);
	border-color: #132439;
  padding: 8px;
}
.blue.button, .blue.button:visited {
	color: #FFF !important;
	background: #c1191a;
	border-color: #b31e23;
	background-image: linear-gradient(to bottom, #c1191a 0%, #991316 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFc1191a', endColorstr='#FF991316', GradientType=0);
	border-color: #991316;
}

#clientLogin input[type="submit"], #clientLogin input[type="submit"]:visited {
	color: #FFF;
  width: 120px;
  padding: 8px;
	background: #336097;
	background-image: linear-gradient(to bottom, #336097 0%, #132439 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF336097', endColorstr='#FF132439', GradientType=0);
	border-color: #132439;
}

#nav {
  margin: 0px;
  padding: 2px 10px;
  height: 60px;
  background: #fff;
  border-top: 0px;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
}
#nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline;
}
#nav li {
	list-style: none;
}
#nav li a {
  display: inline-block;
  /* min-width: 150px; */
	line-height: 20px;
	text-align: left;
	font-weight: bold;
	margin: 10px;
	font-size: 16px;
  color: #3d3d3d !important;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  background-position: 10px 50%;
  background-repeat: no-repeat;
  text-decoration: none !important;
  padding: 8px 30px;
  border-radius: 3px;
}
#nav li a.active, #nav li a:hover {
	color: #c1191a !important;
  background-color: #fff;
}
/* #nav li a.new, #nav li a.status, #nav li a.home, #nav li a.tickets, #nav li a.kb{ */
  /* background-image: none; */
/* } */
/* #nav li a.active, #nav li a:hover { */
	/* color: #fff !important; */
  /* padding: 8px; */
  /* border-radius: 3px; */
  /* background: #3d3d3d; */
  /* border-color: #0a5064 !important; */
  /* background-image: linear-gradient(to bottom, #a0a0a0 0%, #3d3d3d 100%); */
  /* background-repeat: repeat-x; */
/* } */

.flush-left {
	text-align: left;
}

#content {
  padding: 60px 0 120px 0;
}

#footer {
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #3d3d3d;
  color: #a0a0a0;
	text-align: center;
	font-size: 14px;
	border-top: 1px solid #aaa;
	box-shadow: 0 -3px 2px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 -3px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 -3px 2px rgba(0, 0, 0, 0.4);  
}
#footer #poweredBy {
  display:inline-block !important;
  width: 110px !important;
  height: 23px !important;
  outline: none !important;
  text-indent: none !important;
  margin: 0 auto !important;
  background: url('../images/poweredby.png') top left no-repeat !important;
  background-size: auto 20px !important;
}
#footer #providedBy {
  display:inline-block;
  width: 185px;
  height: 23px;
  outline: none;
  margin: 0 auto;
  background: url('../images/providedby.png') top left no-repeat;
  background-size: auto 20px;
}

#logo {
position: absolute;
   float: none;
}

.clear {
  height: 0px;
}

input, select, textarea {
  /* display: block; */
  /* width: 50%; */
  padding: 6px;
  margin-bottom:20px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
select {
  padding: 8px;
}


.infoTable {
  background: #ecf2f9;
}
.action-button {
  font-size: 12px;
  text-align: center;
  min-width: 120px;
  padding: 6px;
}

#ticketTable caption {
  background: none;
  border: none;
}
#ticketTable th {
  background: #ecf2f9;
  font-weight: bold;
}
#ticketTable td {
  padding: 10px 6px;
  background: #fff;
}

#msg_error {
  margin: 0;
  padding: 20px 20px 20px 36px;
  margin-top: 20px;
  margin-bottom: 20px;
  height: 16px;
  line-height: 16px;
  border: 1px solid #d6d8d9;
  border-radius: 5px;
  background: url(../images/icons/error.png) 10px 50% no-repeat #fff0f0;
}

/* varianti a bootstrap */
*, ::after, ::before {
  box-sizing: unset;
}

/* .thread-entry.message .header { */
  /* background:#ed9295; */
/* } */
/* .thread-entry.avatar.message .header:after { */
  /* border-left: 7px solid #ed9295; */
/* } */

/* .thread-entry.response .header { */
  /* background:#93c1eb; */
/* } */
/* .thread-entry.avatar.response .header:after{ */
  /* border-right: 7px solid #93c1eb; */
/* } */

/* .thread-entry.note .header { */
  /* background:#e9f3fb; */
/* } */
/* .thread-entry.avatar.note .header:after { */
  /* border-right-color: #e9f3fb; */
/* } */

/* ------------------------------------------------------------------------------------------------------------------ */
#msg_warning, .warning-banner {
  border: 2px solid #7f0000;
  border-radius: 5px;
  background: #fbe9ea;
}

ul.tabs {
  background: none;
}
/*
.form_table td {
  border-bottom: none;
}
*/
table#ticketTable tbody td { background: none; border: none;}
table#ticketTable tbody tr:nth-child(2n+1) td { background-color: unset; }
table#ticketTable tbody tr:hover td { background: none; }
table#ticketTable tbody tr:nth-child(2n+1):hover td { background: none; }
table#ticketTable thead th a.desc, table#ticketTable thead th a.asc { background-color: unset;}

.thread-body .attachments { background-color: #eee; }
.ticket_info { background: #eee; }

table#ticketTable tfoot td{
  padding: 10px;
  font-size: 12px;
  background: none;
}

table#ticketTable  {
  background: #fff;
  border-radius: 5px;
  margin: 20px auto;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  border-collapse: separate;
  border-style: none;
  border-spacing: 0 !important;
}

table#ticketTable thead {
  border-radius: 5px;
}

table#ticketTable thead th {
  color: #000;
  text-align: left;
  text-transform: uppercase;
  padding: 10px;
  /* border-top: 1px solid #858d99; */
  border-bottom: 1px solid #aaa;
  background: #ddd;
}
table#ticketTable thead th:first-child {
  border-top-left-radius: 5px;
}
table#ticketTable thead th:last-child {
  border-top-right-radius: 5px;
}

table#ticketTable tbody tr td {
  color: #5f6062;
  font-size: 14px;
  padding: 10px 5px;
  border-bottom: 1px solid #aaa;
}
table#ticketTable tbody tr:nth-child(2n) {
  /* background: #f0f3f5; */
  background: #eee;
}
/*
table#ticketTable tbody tr:last-child td {
  border-bottom: none;
}
*/
table#ticketTable tbody tr:last-child td:first-child {
  border-bottom-left-radius: 5px;
}
table#ticketTable tbody tr:last-child td:last-child {
  border-bottom-right-radius: 5px;
}
table#ticketTable tbody:hover > tr td {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  opacity: 0.5;
  /* color:transparent; */
  /* text-shadow: 0px 0px 2px rgba(0,0,0,0.8); */
}
table#ticketTable tbody:hover > tr:hover td {
  text-shadow: none;
  color: #2d2d2d;
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
}
