@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400|Roboto:300,700');

/*
font-family: 'Roboto';
font-family: 'Roboto Condensed';
*/

* {
  margin: 0;
  padding: 0;
  outline: 0;
  font: inherit;
  color: inherit;
}

BODY {
  font: normal 14px/22px "Arial";
  padding: 70px 0;
  color: #00171F;
}

BODY * {
  font-size: 100%;
}

TABLE {
  border-collapse: collapse;
}

TD, TH {
  vertical-align: top;
  text-align: left;
}

H1 {
  margin: 15px 0;
  padding: 0;
  font: 400 30px/40px 'Roboto Condensed';
  overflow: hidden;
}

H2 {
  margin: 10px 0;
  padding: 0;
  font: 400 20px/30px 'Roboto Condensed';
  overflow: hidden;
}

A {
  color: #003F91;
}

P {
  margin: 0 0 3px 0;
  padding: 0;
}

UL {
  margin: 30px;
}

STRONG {
  font-weight: 700;
}

A.button,
BUTTON {
  display: inline-block;
  border: 0;
  background: #555;
  padding: 0 50px;
  font: 400 14px/40px 'Roboto Condensed';
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
}

A.button.small,
BUTTON.small {
  display: inline-block;
  border: 0;
  background: #222;
  padding: 0 30px;
  font: 400 12px/25px 'Roboto Condensed';
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  margin: 5px 0 0 0;
}

blockquote {
  display: block;
  font-style: italic;
  border-left: 2px solid #FFC857;
  padding: 0 10px 0 10px;
  color: green;
  margin: 20px 0 10px 0;
}

blockquote UL,
blockquote LI,
blockquote OL {
  margin-left: 10px;
}

.hide {
  display: none;
}

.ok {
  background: #019875;
}

.fail {
  background: none;
  border: 1px solid #96281B;
  color: #96281B;
}

.success {
  background: none;
  border: 1px solid #22313F;
  color: #22313F;
}

.deal {
  background: none;
  border: 1px solid #336E7B;
  color: #336E7B;
}

.status {
  background: none;
  border: 1px solid #22313F;
  color: #22313F;
}

.opacity {
  opacity: 0.5;
}

.task-status-500 {

}

.task-status-500:hover {
  opacity: 1;
}

A.button:hover,
BUTTON:hover {
  opacity: 0.7;
}

H1 BUTTON {
  padding: 0 10px;
  font: 400 12px/30px 'Roboto Condensed';
}

SELECT,
INPUT[type="text"],
INPUT[type="password"],
TEXTAREA {
  padding: 5px;
  border: 1px solid #e5e5e5;
  width: 90%;
  font-size: 14px;
  margin: 0 0 10px 0;
}

TEXTAREA {
  height: 120px;
}

SELECT {
  max-width: 300px;
}

INPUT[type="text"].invalid-field-value,
INPUT[type="password"].invalid-field-value,
TEXTAREA.invalid-field-value {
  color: red !important;
  box-shadow: inset 0 0 3px red !important;
  background: pink !important;
}

SUP {
  display: inline-block;
  font: 400 12px/18px 'Roboto Condensed';
  color: #9C9583;
  margin: 0 0 0 5px;
}

UL, OL {
  margin: 0 30px 0 30px;
}

.js-in-action {
  opacity: 0.5;
}

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

@media (max-width: 1196px) {
  .wrapper {
    padding: 0 20px;
  }
}

.block {
  margin: 20px 0 30px 0;
}

.back {
  opacity: 0.6;
}

.logo {
  display: inline-block;
  background: black;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 10px;
  font: 700 20px/30px "Roboto Condensed";
  float: left;
}

.logout {
  float: right;
  line-height: 30px;
}

.date {
  opacity: 0.3;
  font-size: 12px;
}

.title {
  font-weight: bold;
  display: block;
  margin: 0 0 0 3px;
}

/* modal window  */
#ofamodal {
  background: #000;
  opacity: 0.6;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 736;
  display: none;
}

#ofamodal-inner {
  background: white;
  position: fixed;
  top: 110px;
  z-index: 737;
  display: none;
  border-top: 2px solid black;
  padding: 0;
}

.nofixed {
  position: absolute !important;
}

#ofamodal-body {
  background: white;
}

#ofamodal-head {
  height: 30px;
}

#ofamodal-head SPAN:last-child {
  background: url(/static/i/close.png) center center no-repeat;
  display: inline-block;
  width: 16px;
  height: 16px;
  cursor: pointer;
  float: right;
  position: relative;
  top: 15px;
  right: 15px;
}

#ofamodal-head SPAN:first-child {
  float: left;
  font: 700 18px/50px 'Roboto';
  padding: 0 0 0 20px;
}

#modal-alert-content {
  padding: 20px;
}

#modal-alert-content HR {
  border: 0;
  border-top: 1px solid #eee;
}

#modal-alert-close {
  min-width: 400px;
  padding: 15px 20px 0 20px;
  margin: 20px -20px 0 -20px;
  border-top: 1px solid #eee;
}

#modal-content {
  padding: 20px 20px 20px 20px;
}

/* / modal window  */

/* alert */

.alert {
  width: 890px;
  background: #fffbbf;
  position: relative;
  margin: 0 0 30px 0;
}

.alert .alert-close-x {
  display: block;
  width: 20px;
  height: 20px;
  background: url(/static/i/icon-close.png) center center no-repeat;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

.alert .alert-body {
  padding: 20px 45px 20px 30px;
  font: 400 14px/20px 'Roboto';
  color: #333;
}

.alert .alert-close {
  display: inline-block;
  font: normal 14px/28px 'Roboto';
  color: #333;
  border: 1px solid #e5e5e5;
  padding: 0 20px;
  border-radius: 2px;
  margin: 20px 0 0 0;
  cursor: pointer;
  background: white;
}

/* / alert */

#panel {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999999;
}

#footer {
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #eee;
  padding: 10px 0;
}

#header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  background: #FFC857;
  padding: 10px 0 10px 0;
}

#top-menu {
  float: left;
  background: #FFC857;
}

#top-menu A {
  display: block;
  float: left;
  background: #FFC857;
  color: black;
  text-decoration: none;
  margin: 0;
  line-height: 30px;
  padding: 0 10px;
}

#top-menu A.active {
  background: #96281B;
  color: white;
}

#top-menu IMG {
  position: relative;
  top: 3px;
}

#menu {
  background: #eee;
}

#menu A {
  display: inline-block;
  line-height: 30px;
  padding: 0 10px;
  text-decoration: none;
}

#menu A i {
  display: inline-block;
  background: #16A085;
  color: white;
  font-size: 12px;
  line-height: 20px;
  padding: 0 5px;
  margin: 0 0 0 5px;
}

@media (max-width: 400px) {
  #menu A {
    display: block;
  }

  A.button,
  BUTTON {
    padding: 0 10px;
  }

  #top-menu {
    display: none;
  }
}

#menu A.active {
  background: #444;
  color: white;
  text-decoration: none;
}

.projects-list {
  overflow: hidden;
}

.projects-list > DIV {
  overflow: hidden;
  margin: 0 0 20px 0;
  border-bottom:1px solid #efe;
}

.projects-list > DIV > SPAN {
  display: block;
}

.projects-list > DIV > A {
  font-weight: bold;
}

.projects-list > DIV > DIV {
  font-size: 14px;
  opacity: 0.9;
}

.projects-list > DIV > DIV A {

}

.projects-list > DIV:hover > DIV {
  opacity: 0.8;
}

.tickets-list {

}

.tickets-list > DIV {
  margin: 0 0 25px 0;
  overflow: hidden;
}

.tickets-list .task-info {
  padding: 15px 0;
}

.tickets-list > DIV > SPAN {
  opacity: 0.3;
  font-size: 12px;
}

.tickets-list A.totask {
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  border: 1px solid #003F91;
  padding: 0 10px;
  margin: 10px 0 0 0;
  opacity: 0.6;
  clear:both;
}

.tickets-list A.totask:hover {
  background: #003F91;
  color: white;
}

.tickets-list > DIV > SPAN:first-child {
  font-weight: 700;
}

.task-title {
  background: rgb(235, 235, 207);
  padding: 5px 5px 5px 15px;
  font-weight: bold;
  font-size: 12px;
  color: #505050;
}

.task-detail {
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.task-detail IMG {
  max-width: 100%;
}

.task-detail-common {

}

.task-detail-comments {

}

.task-detail-comments > DIV {
  margin: 0 0 20px 0;
  padding: 5px 20px 5px 10px;
  border-left: 1px solid #C0E0DE;
}

.task-detail-comments IMG {
  max-width: 100%;
}

.task-detail-comments .me {

}

.task-detail-comments .not-me {
  color: #00A8E8;
}

.task-detail-comments .date .comment-action {
  display: none;
  color: blue;
  border-bottom: 1px dashed blue;
  line-height: 12px;
  cursor: pointer;
  text-transform: lowercase;
}

.task-detail-comments .date:hover .comment-action {
  display: inline-block;
}

.task-status {
  float: right;
}

.login-form {
  max-width: 500px;
}

.group-change {
  overflow: hidden;
}

.group-change A {
  float: left;
}

#group-change {
  float: right;
  position: relative;
  width: 300px;
  border-radius: 0;
}

#task-file-form {
  display: none;
}

.add-task-file-button {
  color: red;
  display: inline-block;
  border-bottom: 1px dashed red;
  margin: 10px 0 30px 0;
  cursor: pointer;
}

#task-files-block {

}

#task-files-block > DIV:first-child {
  margin-top: 30px;
}

#task-files-block > DIV {
  line-height: 25px;
  overflow: hidden;
  width: 50%;
  padding: 0 5px;
}

#task-files-block > DIV:hover {
  background: #ececec;
}

#task-files-block > DIV > SPAN {
  float: right;
  cursor: pointer;
  color: red;
  display: none;
}

#task-files-block > DIV:hover > SPAN {
  display: block;
}

.task-files-block-detail {
  border-top: 1px solid #efefef;
  margin: 10px 0 0 0;
  padding: 10px 0 0 0;
}

.comment-files-block-detail {

}

#task-files-block SMALL,
.comment-files-block-detail SMALL,
.task-files-block-detail SMALL {
  font: 400 12px/25px 'Roboto Condensed';
}

.task-admin-menu {
  text-align: right;
  margin: 10px 0 0 0;
}

.task-admin-menu A {
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  padding: 0 10px;
  text-decoration: none;
  background: #eee;
  marginL 0 5px 0 0;
}

.task-admin-menu A.warning {
  color: white;
  background: red;
}

#admin-menu {

}

#admin-menu .filter {
  margin: 10px 0;
  display: none;
}

.filter-links A {
  display: inline-block;
  line-height: 30px;
  padding: 0 10px;
  text-decoration: none;
  background: #eee;
}

.filter-links A.active {
  background: #777;
  color: white;
}

.filter-status {
  font-size: 12px;
  overflow: hidden;
}

.filter-status SPAN {
  font-weight: bold;
}

.filter-status I {
  color: #003F91;
  line-height: 12px;
  border-bottom: 1px dashed #003F91;
  display: inline-block;
  cursor: pointer;
  margin: 0 0 0 5px;
}

.task-list-item {
  overflow: hidden;
}

.deadline-label {
  font-size: 12px;
  padding: 3px 5px;
  color: white;
  line-height: 20px;
  opacity: 1.0 !important;
  margin: 0 0 0 3px;
  background: red;
  font-weight: normal;
}

.state-label {
  font-size: 12px;
  display: inline-block;
  padding: 0;
  text-align: center;
  color: white;
  float: right;
  position: relative;
  opacity: 0.7 !important;
  width: 70px;
  line-height: 20px;
}

.spectator-label {
  font-size: 12px;
  display: inline-block;
  padding: 0;
  text-align: center;
  float: right;
  position: relative;
  opacity: 0.7 !important;
  width: 100px;
  line-height: 20px;
  color: #6285af;
  border: 1px solid #6285af;
  margin: 0 10px 0 0;
}

.state-label-detail {
  float: none;
}

.spectator-label-detail {
  float: none;
}

.task-list-item:hover .state-label {
  opacity: 1.0 !important;
}

.task-list-item .state-label {

}

.task-detail .state-label {
  top: -20px;
  right: -20px;
}

.state-label.state_100 {
  color: gray;
  border: 1px solid gray;
}

.state-label.state_200 {
  color: green;
  border: 1px solid green;
}

.state-label.state_300 {
  color: blue;
  border: 1px solid blue;
}

.state-label.state_400 {
  color: red;
  border: 1px solid red;
}

@media (max-width: 400px) {
  .filter-links A {
    display: block;
  }
}

#search INPUT {
  width: 98%;
}

.task-billing {
  border-bottom: 1px solid #eee;
  padding: 0 0 10px 0;
}

.task-billing SELECT {
  width: 50px;
}

.task-billing-form SPAN {
  margin: 0 10px;
}

.task-billing-form INPUT {
  width: 200px;
  height: 24px;
  padding: 0;
  margin: 0 0 0 5px;
  text-indent: 5px;
  font-size: 12px;
}

.task-billing BUTTON {
  padding: 0 20px;
  font: 400 14px/25px 'Roboto Condensed';
  margin: 0 0 0 10px;
}

.task-billing-items {
  margin: 0 0 20px 0;
  border-top: 1px solid #efefef;
  width: 100%;
  font-size: 12px;
}

.task-billing-items > DIV {
  border-bottom: 1px solid #efefef;
  overflow: hidden;
  white-space: nowrap;
}

.task-billing-items > DIV > I {
  display: none;
  color: #003F91;
  font-style: normal;
  cursor: pointer;
  border-bottom: 1px dashed #003F91;
  font-size: 12px;
  line-height: 14px;
  position: relative;
  top: 2px;
  float: right;
}

.task-billing-items > DIV > SPAN > SPAN {
  opacity: 0.3;
}

.task-billing-items > DIV > SPAN {
  padding: 0 0 0 2px;
}

.task-billing-items > DIV SPAN.comment {
  padding: 0 0 0 10px;
}

.task-billing-items > DIV:hover > I {
  display: inline-block;
  margin: 0 5px 0 0;
}

.datepicker,
.datetimepicker {
  width: 115px !important;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAcUlEQVQ4T7VSWw7AIAiD+x96BrMuPA3OyI/yaEMBJmsPEbGLaTfkpViCYvjrmAZnefYEAIDUE/i8IVh0XqY+gpXuCj3noXXp9rze0r9C0J1FkIAdb71tre+9hPpsBtclmG39kVASdFtPCXbBqJ+XeGQDJsNAEVp/4O4AAAAASUVORK5CYII=);
  background-position: 7px 8px;
  background-repeat: no-repeat;
  padding-left: 30px !important;
}

.datepicker {
  width: 75px !important;
}

.task-info {

}

.group-menu {
  height: 35px;
}

.group-menu A {
  text-decoration: none;
  font-size: 12px;
  margin: 10px 0 0 0;
  opacity: 0.8;
  display: none;
  border: 1px solid #003F91;
  padding: 0 10px;
}

.group-menu A.warning {
  border: 1px solid red;
  color: red;
}

.projects-list > DIV:hover .group-menu A {
  display: inline-block;
}

.billing-block {
}

.billing-task-item {
  margin: 20px 0 0 0;
}

.billing-task-item .header {
  background: rgb(235, 235, 207);
  padding: 0 0 0 10px;
  opacity: 0.9;
}

.billing-task-item .header > SPAN {
  display: inline-block;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
  color: #505050;
}

.billing-task-item .header > A {
  display: inline-block;
  line-height: 16px;
  font-size: 13px;
  color: #003F91;
  margin: 0 0 0 5px;
  position: relative;
  top: -1px;
}

.billing-task-item .header > SPAN:nth-child(1) {
}

.billing-task-item .header > SPAN:nth-child(2) {
  opacity: 0.3;
  margin: 0 0 0 5px;
}

.billing-task-item > A {
  display: block;
  padding: 10px;
  color: #003F91;
  text-decoration: none;
  background: #fffbbf;
}

.billing-item {
  border-bottom: 1px solid #efefef;
}

.billing-item SPAN {
  display: inline-block;
  font-size: 12px;
  padding: 3px 5px;
}

.billing-item SPAN:nth-child(1) {
  width: 40px;
  border-right: 1px solid #efefef;
  text-align: right;
}

.billing-item SPAN:nth-child(2) {
  border-right: 1px solid #efefef;
  width: 120px;
}

.billing-item SPAN.price {
  border-right: 1px solid #efefef;
  width: 120px;
}

.billing-item SPAN:nth-child(3) {
}

.total-time {
  font-size: 16px;
  font-weight: bold;
  padding: 10px 10px;
}

.total-time SPAN {
  font-weight: normal;
}

.ok-comment {
  background: #222;
}

.detail-group-name {
  display: block;
  font-size: 12px;
  color: #bbb;
  position: relative;
  top: 20px;
}

.group-total-time {
  color: #96281B;
  padding: 10px 0;
  margin: 0 0 50px 0;
  font-weight: bold;
}

.group-total-time SPAN {
  font-weight: normal;
  color: #777;
}

.price {
  color: #777;
}

.bill-form {
  width: 400px;
}

.current-user-bill {
  display: inline-block;
  background: red;
  color: white;
  text-decoration: none;
  margin: 0;
  line-height: 30px;
  padding: 0 10px;
}

.credit {
  display: block;
  color: #96281B;
  margin: 10px 0 0 0;
  font-size: 12px;
}

.credit SPAN {
  font-weight: bold;
}

.bill-items TABLE {
  width: 100%;
}

.bill-items TABLE TH {
  background: #96281B;
  border: 1px solid #96281B;
  color: white;
  padding: 0 5px;
}

.bill-items TABLE TR TD {
  padding: 5px;
  border: 1px solid #dedede;
}

.bill-items TABLE TR TH:nth-of-type(1),
.bill-items TABLE TR TD:nth-of-type(1) {
  width: 100px;
  text-align: center;
}

.bill-items TABLE TR TH:nth-of-type(2),
.bill-items TABLE TR TD:nth-of-type(2) {
  width: 100px;
  text-align: center;
}

.bill-items TABLE TR TH:nth-of-type(4),
.bill-items TABLE TR TD:nth-of-type(4) {
  width: 200px;
  text-align: center;
}

.bill-items TABLE TR TH:nth-of-type(5),
.bill-items TABLE TR TD:nth-of-type(5) {
  width: 100px;
  text-align: center;
}

.bill-items TABLE TR:nth-child(even) {
  background: #eee;
}

.task-add-to-board {
  padding: 0 0 10px 0;
  border-bottom: 1px solid #efefef;
  font-size: 13px;
}

.board-form .board-comment {
  width: 570px;
}

.board-form TABLE {
  width: 100%;
}

.board-form BUTTON {
  line-height: 34px;
  padding: 0 20px;
}

.board-form TABLE TR TD:nth-of-type(1) {
  width: 100px;
}

.board-form TABLE TR TD:nth-of-type(2) {
  width: 100px;
}

.board-form TABLE TR TD:nth-of-type(3) {
}

.board-form TABLE TR TD:nth-of-type(4) {
  width: 100px;
}

.board-form TABLE TR TD:last-child {
  text-align: right;
}

.board-list {
  margin: 0 0 30px 0;
}

.board-list TABLE {
  width: 100%;
}

.board-list TABLE TH {
  background: #eff;
  border: 1px solid white;
  font-weight: bold;
}

.board-list TABLE TH,
.board-list TABLE TD {
  padding: 0 5px;
}

.board-list TABLE TD {
  border-bottom: 1px solid #eff;
}

.board-list TABLE TR TH:nth-of-type(1),
.board-list TABLE TR TD:nth-of-type(1) {
  width: 30px;
  text-align: center;
}

.board-list TABLE TR TD:nth-of-type(2) {
  width: 120px;
}

.board-list TABLE TR TD:nth-of-type(3) {
  width: 120px;
}

.board-list TABLE TR TD:nth-of-type(4) {
}

.board-list TABLE TR TD:nth-of-type(5) {
  width: 20px;
  text-align: center;
  cursor: pointer;
  color: #333;
}

.board {
}

.board-columns{
  overflow: hidden;
}

.board-columns > DIV:first-child{
  width: 32%;
  float:left;
}

.board-columns > DIV:nth-of-type(2){
  width: 33%;
  float:left;
  margin-right:1%;
  margin-left:1%;
}

.board-columns > DIV:last-child{
  width: 32%;
  float:left;
}

.b-item-status{
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  border: 1px solid #003F91;
  padding: 0 10px;
  margin: 10px 0 0 0;
  opacity: 0.6;
  cursor:pointer;
}

.board .board-task {
  padding: 10px 0 0 0;
  margin: 10px 0 0 0;
}

.board .board-task > SPAN {
  display: block;
  cursor: pointer;
  background: rgb(235, 235, 207);
  padding: 5px 5px 5px 10px;
  font-weight: bold;
  font-size: 12px;
  line-height: 12px;
  color: #505050;
}

.board .board-task .board-task-info {
  display: none;
  font-size: 12px;
  line-height: 16px;
  padding: 10px;
  background: #efe;
  margin:10px 0;
}

.board .b-item {
  border-bottom:1px solid #efefef;
  padding:10px 0;
}

.board .b-item SPAN {
  display: block;
  color:#ccc;
  font-size:12px;
}

.board-task-300{
  opacity: 0.5;
}

.board-task-300:hover{
  opacity:1.0;
}