* {
    font-family:times;
    font-size:14px
}
a {
    color:#1b1c39
}
html {
    color:#1b1c39;
    background:#eee;
    height:100%;
    padding:0;
    margin:0
}
h1 {
    margin-top:0;
    text-align:center
}
body {
    height:100%;
    width:100%;
    padding:0;
    margin:0;
    display:table
}
ul {
    padding-left:20px
}
#menu {
    display:table-cell;
    vertical-align:top;
    width:200px;
    padding-left:10px;
    border-right:1px solid #000;
    margin-right:30px;
    background:#222;
    box-shadow:1px 0 5px 1px #222
}
#menu * {
    color:#fff
}
#menu img {
    display:block;
    margin:10px auto;
    margin-top:10px
}
#adminBox {
    position:absolute;
    left:50%;
    top:50%;
    margin:-200px 0 0 -200px;
    width:400px;
    height:300px;
    text-align:center
}
#loginBox {
    margin-top:20px;
    background:#e8e8e8;
    width:400px;
    height:200px;
    border:2px solid #008dc6;
    box-shadow:1px 1px 5px 1px #008dc6
}
#loginBox table {
    margin:60px auto
}
#loginBox .errorBox {
    margin-top:25px;
    margin-bottom:-40px;
    width:300px
}
#addReservation {
    display:table-cell;
    vertical-align:top;
    width:500px;
    margin:0 auto;
    min-height:300px;
    background:#fff;
    border:1px solid #000
}
.errorBox {
    background:#f00000;
    width:50%;
    padding:5px;
    margin:15px auto;
    text-align:center;
    box-shadow:1px 1px 5px 1px #000
}
.infoBox {
    background:#008dc6;
    color:#fff;
    width:50%;
    padding:5px;
    margin:15px auto;
    text-align:center;
    border:1px solid #008dc6;
    box-shadow:1px 1px 5px 1px #000
}
.okBox {
    background:#16c416;
    width:50%;
    padding:5px;
    margin:15px auto;
    text-align:center;
    box-shadow:1px 1px 5px 1px #000
}
.center {
    text-align:center
}
.profileImage {
    width:40px;
    height:30px
}
.profileImage:hover {
    position:relative;
    z-index:3;
    width:160px;
    height:120px
}
.hide {
    height:0;
    width:0
}
.active {
    border:1px #000 solid;
    position:absolute;
    background:#ff0;
    height:80px;
    width:130px;
    z-index:10
}
.kalendarz {
    width:170px;
    background:#fff;
    height:170px;
    padding:5px;
    border:1px solid #ddd
}
.kalendarz .input-prev,.kalendarz .input-next {
    width:30px;
    height:20px;
    border:1px solid #ddd;
    background:#fff;
    font:11px Arial;
    color:#333
}
.kalendarz .input-prev {
    float:left
}
.kalendarz .input-next {
    float:right
}
.kalendarz .nazwa-miesiaca {
    font:11px Arial;
    color:#666;
    margin:0 40px;
    text-align:center
}
.kalendarz .kalendarz-table {
    margin-top:30px
}
.kalendarz .kalendarz-table table {
    font:12px Arial;
    color:#666;
    position:absolute;
    top:0;
    left:0;
    margin-top:20px;
    width:100%
}
.kalendarz .kalendarz-table table th {
    font:bold 11px Arial;
    color:#333;
    padding-top:3px
}
.kalendarz .kalendarz-table table td.dzien {
    border:1px solid #ddd;
    padding:2px;
    font:12px Arial;
    text-align:center
}
.kalendarz .kalendarz-table table td.current {
    border:1px solid blue;
    padding:2px;
    font:12px Arial;
    text-align:center
}
.kalendarz .kalendarz-table table td.dzien:hover {
    background:#D1EBFD;
    cursor:pointer
}
.modal {
    display:none;
    position:fixed;
    z-index:1000;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:rgba(255,255,255,.8) url(/images/layout/admin/loader.gif) 50% 50% no-repeat
}
body.loading {
    overflow:hidden
}
body.loading .modal {
    display:block
}
.contactInfo {
    margin-bottom:20px
}
.day {
    background:#f8f8f8;
    border:1px solid #ddd;
    clear:both;
    margin:1px 0;
    min-width:400px;
    width:100%;
    display:table
}
.flyList {
    padding:2px;
    width:40px;
    margin-right:5px;
    background:#ddd;
    display:table-cell;
    vertical-align:middle;
    color:#000;
    text-align:center
}
.flyList:hover {
    background:#32c24d;
    color:#fff
}
.dayInfo {
    padding:2px;
    width:80px;
    margin-right:5px;
    background:#ddd;
    display:table-cell;
    vertical-align:middle;
    color:#000;
    text-align:center
}
.dayInfo2 {
    padding:2px;
    width:200px;
    margin-right:5px;
    background:#ddd;
    display:table-cell;
    vertical-align:middle;
    color:#000;
    text-align:center
}
.dayInfo:hover {
    background:#32c24d;
    color:#fff
}
.dayInfo.full:hover {
    background:#333;
    color:#eee
}
.dayInfo a {
    display:block;
    text-decoration:none
}
.reservation {
    margin-right:5px;
    float:left;
    width:200px;
    background:#efefef;
    padding:2px;
    border:1px solid #bbb;
    position:relative
}
.reservation a {
    text-align:center;
    text-decoration:none;
    display:block
}
.reservation:hover {
    background:#fff
}
.reservations {
    display:table-cell;
    padding:2px
}
.blockage {
    margin-right:5px;
    float:left;
    width:200px;
    background:#ccc;
    padding:2px;
    border:1px solid #bbb
}
.full {
    background:#313337;
    color:#eee
}
.addToAll {
    background:#ccc;
    padding:5px;
    text-align:center
}
.addToAll a {
    display:block;
    text-decoration:none
}
.addToAll:hover {
    background:#32c24d
}
.edit {
    text-align: right;
    display: block;
    height: 1px;
}
.edit img {
    height:.97em
}
.content {
    display:table-cell;
    vertical-align:top;
    padding:10px;
    padding-left:20px
}
#subMenu {
    display:table-cell;
    vertical-align:top;
    width:260px;
    padding:10px;
    padding-left:20px
}
#preview {
    display:none;
    padding:10px;
    margin-top:30px;
    background:#ddd;
    border:1px solid #ccc
}
#preview img {
    height:16px
}

.graphic img {
    display: inline-block;
    height: 16px;
    vertical-align: middle;
}
.graphic {
    margin-top:30px;
    width: auto;
    font-size:100%;
    border-collapse:collapse;
    background:#eee
}
.graphic td, .graphic th {
    border:1px solid #bbb;
    background:#ddd;
    padding: 0 5px;
    height:20px!important
}
.graphic a {
    display:block;
    width:100%;
    height:100%;
    text-decoration:none
}
.graphic td {
    height:1em;
    text-align: center;
}
.graphic td.clickable {
    cursor: pointer;
}
.graphic th {
    height:2em;
    padding-bottom:.2em;
    font-size:1.1em
}
.graphic td.type1 {
    background: #00dd00
}
.graphic td.type2 {
    background: #006600;
    color:#eee
}
.graphic td.type3 {
    background: #009dcc;
    color:#eee
}
.graphic td.type4 {
    background: #d0332f;
    color: #eee
}
.graphic td.type5 {
    background: #b400e8;
    color: #eee
}
.graphic td.type6 {
    background: #a60400;
    color: #eee
}
.graphic td.type7 {
    background: #32c24d;
    color: #eee
}
.graphic tr:hover th {
    background: #fff;
}
.graphic #prevMonth,.graphic #nextMonth {
    cursor:pointer;
    font-size:125%;
}
.graphic #prevMonth:hover,.graphic #nextMonth:hover {
    background:#ccc!important
}

#calendarMini table {
    margin-top:30px;
    width:100%;
    font-size:100%;
    border-collapse:collapse;
    background:#eee
}
#calendarMini table td,#calendarMini table th {
    border:1px solid #bbb;
    background:#ddd;
    width:10%;
    height:20px!important
}
#calendarMini table a {
    display:block;
    width:100%;
    height:100%;
    text-decoration:none
}
#calendarMini td {
    height:1em
}
#calendarMini th {
    height:2em;
    padding-bottom:.2em;
    font-size:1.1em
}
.availableSlots {
    height:2em;
    margin-top:.4em;
    text-transform:uppercase;
    font-size:1.5em;
    margin-left:.7em;
    color:#b8b5b7
}
#calendarMini td.full {
    background:#a00000
}
#calendarMini td.almostFull {
    background:#ff0;
    cursor:pointer
}
#calendarMini td.available {
    background:#32c24d;
    color:#fff!important;
    cursor:pointer
}
#calendarMini td.available:hover {
    background:#3be65b
}
#calendarMini td.notAvailable {
    background:#ddd;
    color:#d3d3d3
}
#calendarMini #prevMonth,#calendarMini #nextMonth {
    cursor:pointer;
    font-size:125%
}
#calendarMini #prevMonth:hover,#calendarMini #nextMonth:hover {
    background:#ccc!important
}
.icon {
    vertical-align:top;
    height:1.1em
}
.current {
    background:#222!important;
    color:#fff!important
}
.current a {
    color:#fff!important
}
.calendarButton {
    text-decoration:none;
    text-align:center;
    display:block;
    width:100%;
    padding:2px;
    background:#ccc;
    margin:5px 0
}
.calendarButton:hover {
    background:#ddd
}
.calendarButton.current:hover {
    background:#666!important
}
.removed {
    display:none;
    background:#e9312f
}
#preview.removed {
    background:#e9312f;
    color:#fff
}
.removed a {
    color:#fff
}
.times {
    display:none
}
.fake {
    background:#ff0
}
#orderList {
    border-collapse:collapse
}
#orderList tr {
    background:#f8f8f8;
    border:1px solid #ddd
}
#orderList tr td,#orderList tr th {
    padding:5px 10px
}
#orderList tr.completed {
    background:#313337;
    color:#eee
}
#orderList tr.prepared {
    background:#00b4ec;
    color:#000
}
#orderList tr:hover {
    background:#fff
}
#orderList tr.completed:hover {
    background:#3d4045
}
.box {
    float: left;
    border: 1px solid #ddd;
    margin: 5px;
    padding: 10px;
    width: 500px;
    min-height: 300px;
}

#type1, #type2, #type3, #type4 , #type5 , #type6 , #type7 {
    cursor: pointer;
    display:inline-block;width:40px;height:30px;line-height:30px;text-align:center;
}
span.selected {
    border: 2px solid #222!important;
}
.rotate {
    transform: rotate(-90deg);
}
.paid {
    background:#32c24d;
}
.came {
    background:#00b3ea;
}
.came.unpaid {
    background: linear-gradient(0deg, #00b3ea 50%, #fff 50%);
}
.freeShow {
    background: linear-gradient(0deg, #32c24d 50%, #fff 50%);
}
.legendBox {
    display:inline-block;width:20px;height:20px;border:1px solid #999;vertical-align: middle;
}
th.rotate {
  /* Something you can count on */
  height: 140px;
  white-space: nowrap;
}

th.rotate > div {
  transform: 
    /* Magic Numbers */
    translate(25px, 51px)
    /* 45 is really 360 - 45 */
    rotate(315deg);
  width: 30px;
}
th.rotate > div > span {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}