.messages {}
.messages > div {padding:5px;color:green;}
.errors {}
.errors > div {color:red;padding:5px;border: 1px solid red;}

.navbar ul.nav li ul.dropdown-menu li.calendar.mobile {
    display: none;
}

@media (max-width: 480px) {
    .navbar ul.nav li ul.dropdown-menu li.calendar {
	display: none;
    }
    .navbar ul.nav li ul.dropdown-menu li.calendar.mobile {
	display: block;
    }

    table.calendar,
    table.calendar tbody,
    table.calendar tr,
    table.calendar tr td {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 5px;
	min-height: 10em;
    }
    table.calendar thead,
    table.calendar tfoot,
    table.calendar tr.topdays,
    table.calendar tr td.beforedayboxes,
    table.calendar tr td.afterdayboxes {
	display: none;
    }

    table.calendar tr td a.registracija,
    table.calendar tr td div[align=left] span>font {
	font-size: 2em;
	line-height: 1.5em;
    }
    table.calendar .menu .actions a {
      padding: 0 0 0 0.5em;
      font-size: 1.5em;
    }

    .popup {
       max-width: 100% !important;
       min-width: 0 !important;
       top: 0 !important;
       left: 0 !important;
       right: 0 !important;
       /*bottom: 0 !important;*/
       min-height: 0 !important;
       max-height: 100% !important;
       height: auto !important;
    }

    .popup .b-ajax-wrapper * {
      max-width: 100% !important;
    }

   .b-ajax-wrapper table {
      table-layout: auto !important;
   }

   .b-ajax-wrapper .b-close {
     font-size: 2em;
   }
}

.pager {
  text-align: center;
}

.pager a {
  text-decoration: none;
}

table .add, table .show_day, table .add_day {
  padding: 0 0 0 2px;
  color:#666666;
  /*font-size:13px;*/
}
table .add:hover, table .show_day:hover, table .add_day:hover {
}
table .add:active, table .show_day:active, table .add_day:active {
	position:relative;
	top:1px;
}

#flight-add table.table td input {
  width: 100%;
}
#flight-add table.table td select {
  width: 100%;
}
#flight-add table.table .date input[type=date] {
  line-height: 100%;
  width: 140px;
}
#flight-add table.table .service select {
  min-width: 100px;
}
/*#flight-add table.table .user select {
  width: 120px;
}*/
#flight-add table.table .glider select {
  min-width: 80px;
}
#flight-add table.table .quantity {
  width: 50px;
}
#flight-add table.table .price {
  width: 80px;
}

#flight-add table.table td, #flight-add table.table th {
}

#flight-add table .price {
}

#flight-add table .amount.time {
  width: 120px;
}

#flight-add table .actions {
  width: 76px;
}

#flight-add table select {
  min-width: 150px;
}

#flight-add table.table td input.amount_unit {
  width: 50px;
}

ul.list-group > li {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.list-group > li:first-child {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}
ul.list-group > li:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

table.practice td.estimate {
  width: 3em;
}

table.practice td > div {
  display: inline-block;
}

#flight-add .payer {
  max-width: 200px;
}

#registracija {
    /*min-height: 226px;*/
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}