body {
  background-color: #f0f0f0;
}

a, a:visited, a:active { color: #555; }
a:hover { color: #000; }
.btn-black, .btn-black:hover, a.btn:not(.btn-default) { color: #ffffff !important; }
.bootstrap-datetimepicker-widget a.btn{color:#000 !important;}
#userbox {
  margin: 15px auto;
  padding: 0px 20px;
}
#userbox >ul.list-inline {
  display: inline-block;
  margin: 0px;
}
#userbox .user-title {
  font-size: 12px;
}
#userbox .user-title .user-name { 
  font-weight: bold; 
}
#userbox .user-nav a {
  font-size: 14px;
  font-weight: bold;
  color: #555;
}


#app {
  margin-bottom: 50px;
  padding: 30px 25px 10px 25px;
  width: 1170px;
  overflow: hidden;
  border: solid 1px #e0e0e0;
  background-color: #ffffff;
}


#app .app-nav {
  display: inline-block;
  margin: 0px;
}
#app .app-nav .navbar {
  margin: 0px;
  background: url(/public/images/navbar/nav-bg.png) repeat-x !important;
}
#app .app-nav .navbar a {
  padding-left: 35px;
  padding-right: 35px;
  color: #ffffff;
}
#app .app-nav .navbar-nav >li >a {
  padding-top: 11px !important;
  padding-bottom: 11px !important;
}
#app .app-nav .navbar {
  min-height: 32px !important;
}
#app .app-nav .navbar img.nav-border-left { position: absolute; top: 0px; left: 0px; width: 2px; }
#app .app-nav .navbar img.nav-border-right { position: absolute; top: 0px; right: 0px; width: 2px; }
#app .app-nav .nav li.active a, #app .app-nav .nav li:hover a {
  background: url(/public/images/navbar/nav-bg-active.png) repeat-x !important;
} 


#app .app-subnav {
  display: inline-block;
  background-color: #f7f7f7;
  border: solid 1px #e6e6e6;
}
#app .app-subnav li { float: left; } /* fix spaces between li */
#app .app-subnav li:not(:last-child) {
  border-right: solid 1px #e6e6e6;
}
#app .app-subnav li.active, #app .app-subnav li:hover {
  background-color: #ebebeb;
}
#app .app-subnav a {
  display: block;
  padding: 8px 10px;
}
#app .app-subnav li:hover a {
  text-decoration: none;
}


#app .app-filters { margin-top: 15px; }
#app .date-input { position: relative; }
#app .date-input i.glyphicon {
  position: absolute;
  top: 50%; right: 15px;
  margin-top: -5px;
  font-size: 11px;
  color: #555;
}


#app footer {
  clear: both;
  position: relative;
  padding: 0px;
  border-top: solid 1px #ccc;
  font-size: 12px;
  color: #aaaaaa;
}
#app footer .copyright {
  display: inline-block;
  margin: 0px; 
  padding: 10px 0px;
}
#app footer .nav-inline {
  display: inline-block;
  margin-top: 10px;
  margin-right: 0px;
  margin-bottom: 0px;
}
#app footer .nav-inline a { color: #aaaaaa; }
#app footer .nav-inline li:hover a { 
  text-decoration: none;
  color: #555555; 
}


#app table {
  margin-top: 10px;
  margin-bottom: 10px;
}
#app table thead {
  background: url(/public/images/navbar/nav-bg.png) repeat-x;
}
#app table thead, #app table thead a {
  font-weight: normal;
  color: #ffffff;
}
#app table thead i[class*=glyphicon-chevron] {
  font-size: 11px;
}
#app table.table-centered >thead >tr >td, #app table.table-centered >tbody >tr >td {
  text-align: center;
}

#app .btn-black {
  background-color: #3d3d3d;
  color: #ffffff;
  border-color: #3d3d3d;
}
#app .btn-black:hover { background-color: #525252; }
/* TODO: fix this for select tag, this doesn't look to affect select boxes at all! */
#app .form-control {
  -moz-border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  -khtml-border-radius: 0px !important;
  border-radius: 0px !important;
}
.select2-container{
	width: 158px;
}
.select2-container.input-sm .select2-choice, .input-group-sm .select2-container .select2-choice{
	height:34px !important; color:#000 !important; padding:6px 12px !important; line-height: 1.42857; color:#555 !important;
}
.select2-chosen{color:#555}
#app form .control-label { text-align: left; font-weight: normal; font-size: 13px; }
#app ul.pagination { margin-top: 0px; }
#app ul.pagination li { float: left; margin-left: 7px; }
#app ul.pagination li a {
  padding: 2px 8px;
  font-size: 12px;
  line-height: 16px;
  color: #000000;
  border: solid 1px #e6e6e6;
}
#app ul.pagination li.active a {
  color: #ffffff;
  background-color: #000000;
}
#app ul.pagination li.pagination-prev a, #app ul.pagination li.pagination-next a {
  font-size: 15px;
}


/* Auth */
#app.auth {
  width: 350px;
  margin-top: 100px;
  padding-top: 0px;
}
#app.auth .app-logo {
  padding: 20px 0px; padding-bottom: 0px;
  text-align: center;
}
#app.auth form {
  margin-bottom: 10px;
}
#app.auth .form-group.pass-recover-link {
  margin-top: 5px;
}


/* CMS */
ul.cms-nav-list, ul.cms-nav-list ul {
  list-style-type: none;
  margin: 0px; padding: 0px;
  background-color: #e6e6e6;
}
ul.cms-nav-list { margin-bottom: 10px; }
ul.cms-nav-list >li {
  border-left: solid 1px #e6e6e6;
  border-right: solid 1px #e6e6e6;
  border-top: solid 1px #e6e6e6;
  padding: 0px;
}
ul.cms-nav-list >li:last-child { border-bottom: solid 1px #e6e6e6; }
ul.cms-nav-list >li a {
  display: block;
  padding: 10px 20px;
}
ul.cms-nav-list >li.active a, ul.cms-nav-list >li:hover a {
  background-color: #eeeeee;
}
ul.cms-nav-list >li ul li.active a {
  font-weight: bold;
}
ul.cms-nav-list >li ul li a {
  padding-left: 40px;
}
ul.cms-nav-list a:hover, ul.cms-nav-list a:visited {
  text-decoration: none;
}


/* Upload box */
ul.list-inline.files {
  margin-top: 5px;
}
ul.list-inline.files >li { /* :not(:nth-child(3n)) */
  position: relative;
  margin: 0px;
  margin-right: 15px;
  margin-bottom: 10px;
  padding: 0px;
  width: 60px;
  /*height: 52px;*/
  outline: solid 1px #cccccc;
  background-color: #fafafa;
}
ul.list-inline.files >li img {
  width: 60px;
  vertical-align: top;
}
ul.list-inline.files >li a.file-remove {
  display: block;
  position: absolute;
  top: 0px; right: 0px;
  width: 20px; height: 20px;
  text-align: center;
  vertical-align: middle;
  color: red;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}
ul.list-inline.files >li:hover a.file-remove {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
}

/* CMS */
.subcategory_item {
  float:left;
  /*border:1px solid #000;*/
  vertical-align:middle;
  width:250px;
  height: 20px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  /*word-wrap:break-word;*/
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Tickets */
.ticket-history {
  border: solid 1px #ccc;
  padding: 0px; padding-bottom: 10px;
}
.ticket-history ul {
  margin: 0px; margin-bottom: 10px;
  padding: 0px;
  width: 100%;
  background: #ebebeb;
  font-size: 13px;
}
.ticket-history-status{padding:10px}
.ticket-history li{padding:5px 18px}
.ticket-history ul li a {
  display: block;
  margin: 0px;
}
.ticket-history ul li.active a {
  color: red;
}
.ticket-history p {
  font-size: 12px;
  margin: 0px;
  padding: 2px 10px;
}

ul.ticket-details {
  margin: 0px; padding: 0px;
  list-style-type: none;
  font-size: 13px;
}
ul.ticket-details li {
  width: 220px;
}
ul.ticket-details li span.title {
  display: inline-block;
  width: 65px;
  font-weight: bold;
}

#ticket-comments {
  margin: 10px 0px; padding: 0px;
}
#ticket-comments header h5 {
  font-weight: bold;
  color: #000000;
}
#ticket-comments header ul {
  padding-top: 7px;
  font-size: 11px;
}
#ticket-comments header ul li {
  padding: 0px;
}

#ticket-comments ul.ticket-comments >li {
  margin-bottom: 10px;
  border:1px solid #ccc;
}

#ticket-comments ul.ticket-comments {
  margin: 0px; padding: 0px;
  list-style-type: none;
}
#ticket-comments ul.ticket-comment {
  cursor: pointer;
}
#ticket-comments ul.ticket-comments li:hover i[class*=glyphicon-chevron] {
  color: #000000;
}
#ticket-comments ul.ticket-comment {
  background-color: #f1f1f1;
  margin:0;
}
#ticket-comments ul.ticket-comment li {
  padding: 10px 20px;
}
#ticket-comments ul.ticket-comment li.comment-toggle {
  padding-top: 12px;
  font-size: 13px;
  color: #ccc;
}
#ticket-comments ul.ticket-comments li p {
  margin: 10px 0px;
  font-size: 13px;
  padding: 4px 14px;
}

.ticket-comments-pagination >ul.pagination { margin-left: 0px !important; }
.ticket-comments-pagination >ul.pagination li {
  margin: 0px !important;
}
.ticket-comments-pagination >ul.pagination li a {
  margin: 0px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 16px;
  color: #000000 !important;
  border: none !important;
}
.ticket-comments-pagination >ul.pagination li.active a {
  color: #000000 !important;
  background-color: #efefef !important;
}
.ticket-comments-pagination >ul.pagination li.pagination-prev a, .ticket-comments-pagination >ul.pagination li.pagination-next a {
  font-size: 15px;
}

/* Documents */
#documents {
  margin: 0px;
}

.app-filters select{width:158px}
.align-right{text-align:right !important; }
#ticket-tab-details td, #ticket-tab-view td{padding:5px}
#ticket-tab-details .align-right, #ticket-tab-view .align-right{font-weight:bold}

.article{position:relative}
#articles ul{list-style-type:none; padding: 15px;}
#articles ul li a{padding-left:10px}
#articles ul li h4{margin-top:20px}
.article{margin-bottom:20px; border-bottom:1px solid #eee; padding-bottom:10px}
.article .post-date{margin-right:10px}
.article .post-views{}
.article .content{width:600px}
.article .images{width:170px}
.article .image{width:115px}
.article .text{width:680px}
.article #back-url{position: absolute; right:0; top:-60px}
.article h4{margin-top:0}
.uploaded-files div{display: inline-block; margin:0 10px 10px 0; position:relative}
.uploaded-files .file-remove{position:absolute; right:0; top:0}
.article .images a{margin:6px; display:inline-block}
.fileinput-button{padding:4px;}
h4, h5{font-weight:bold}
#properties-list li{list-style-type:none}
input#user-ap, input#user-project-ap{border: 1px solid #ccc;}
.ticket-comment.new{border:1px solid #904b8c}
.datepicker{padding:6px 12px !important;}
.ticket-comment-body{padding:10px}

#documents{overflow:hidden}
.documents{float:left; margin-right: 20px; width: 538px;}
#selected-projects .form-group{margin-bottom:0}

.ticket-open{color:green}
.ticket-passed{color:red}

.uploaded-files span {left: 1px; position: absolute; top: 22px;}