html {
    height: 100%;
}
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    background-color: #fff;
    background-image: url(../i/bg.jpg);
    background-repeat: repeat-y;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}
label {
    font-size: 12px;
    font-weight: normal;
    color: #999;
    line-height: 15px;
}
label.hover {
    font-size: 13px;
    color: #369;
    line-height: 15px;
}
textarea {
    max-width: 100%;
}
table.table {
    margin-bottom: 5px !important;
}
table.table thead td,
table.table thead th,
table.table tfoot td,
table.table tfoot th {
    font-weight: bold;
}
tr.border-bottom th,
tr.border-bottom td {
    border-bottom: 1px solid #666 !important;
}
tr.border-top th,
tr.border-top td {
    border-top: 1px solid #666 !important;
}
.table-responsive {
    margin-bottom: 5px !important;
}
.sortable-highlight {
    height: 40px;
    background-color: #9cf;
}
tr.none-record td {
    background-color: #eee;
    color: #666;
    font-weight: bold;
    font-style: italic;
}
span.show-persons:hover,
span.show-tasks:hover {
    color: #c00;
    cursor: pointer;
}
tr.person,
tr.task {
    display: none;
}
tr.task td {
    padding-left: 10px !important;
    font-size: 12px;
    color: #369;
}
.pagination {
    margin: 0px !important;
}
.width-50 {
    width: 50px;
}
.width-100 {
    width: 100px;
}
.input-xs {
    padding: 0px;
    height: 22px;
}
button.position[type=button] {
    cursor: move;
}
.bg-danger {
    font-size: 12px;
    color: #fff;
    background-color: #e00;
    border-radius: 3px;
}
.bg-success {
    font-size: 12px;
    color: #fff;
    background-color: #0c0;
    border-radius: 3px;    
}
.padd-5-10 {
    padding: 5px 10px;    
}
.marg-right-10 {
    margin-right: 10px;
}
.panel {
    background-color: transparent;
    background-image: url(../i/white.png);
}
.panel-login {
    margin: 25px auto;
    max-width: 300px !important;
    box-shadow: 2px 2px 10px #999;
}
.pull-top {
    position: absolute;
    z-index: 2;
    margin-top: -30px;
}
.tab-pane {
    padding-top: 20px;
}
.enableEditor {
    background-color: #eee;
}
.row.line {
    border-bottom: 1px solid #ccc;
}
.client_query span.input-group-addon {
    cursor: pointer;
}
button.filters {
    margin-bottom: 10px;
}
#manager {
    padding: 0px;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0px;
}
.navbar {
    margin-top: -2px;
    border: 1px solid #337ab7;
}
.navbar-nav > li > a {
    color: #337ab7 !important;
}
.navbar-nav > li > a:hover {
    background-color: #e7e7e7 !important;
}
.navbar-nav > li.active > a {
    color: #fff !important;
    background-color: #337ab7 !important;
}
.navbar-brand {
    padding: 5px 5px 5px 15px;
}
.navbar-brand > img {
    max-height: 100%;
}
.nav-tabs > li > a {
    padding: 10px 10px;
}
li.dropek:hover {
    background-color: #e6e6e6;
}
li.dropek button {
    padding: 15px 15px !important;
    color: #337ab7 !important;
    border: 0px;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
li.dropek button:hover {
    background: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
li.dropek button span.glyphicon {
    font-size: 14px;
}
li.dropek ul li,
li.dropek ul li a {
    color: #337ab7 !important;
    background: transparent !important;
}
li.dropek ul li.active,
li.dropek ul li.active a {
    color: #fff !important;
    background-color: #337ab7 !important;
}

.cursor-wait {
    cursor: wait !important;
}
.cursor-default {
    cursor: default !important;
}
.select2-container .select2-selection--single {
    height: 34px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}
#folders,
#files {
    overflow: scroll;
    height: 200px;
}
#folders {
    padding-left: 0px;
}
#folders ul {
    display: none;
    min-width: 500px;
    list-style: none;
    padding: 0px;
    padding-left: 25px;
    margin: 0px;
}
#folders ul.active {
    display: block;
}
.dir,
.fil {
    color: #666;
    cursor: pointer;
    min-width: 500px;
}
.dir:hover,
.fil:hover {
    color: #000;
    background-color: #eee;
}
li.active > a.dir {
    color: #369;
}
.dir span.glyphicon {
    margin-right: 10px;
}
.dir span.glyphicon-comment {
    margin-right: 0px;
    color: #999;
}
span.glyphicon-comment.black {
    color: #666;
}
span.glyphicon-comment.silver {
    color: #ccc;
}
.file-who,
.file-size,
.file-comm,
.file-date {
    float: right;
    display: inline-block;
    padding-left: 10px;
    color: #999;
}
#tools {
    position: absolute;
    top: 7px;
    right: 15px;
}
#tools span {
    margin-right: 5px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
}
#tools span:hover {
    color: #369;
}
#context {
    display: none;
    position: absolute;
    z-index: 9998;
    border: 1px solid #ccc;
    background-color: #eee;
}
#context div {
    padding: 3px 10px;
    font-size: 14px;
}
#context div:hover {
    color: #369;
    background-color: #fff;
    cursor: pointer;
}
#context div span {
    margin-right: 10px;
}
#file_info,
#dir_attr,
#file_text,
#file_note,
#file_loading,
#cal_form,
#alert_form,
#event_show {
    display: none;
    position: fixed;
    z-index: 999;
    padding: 20px;
    width: 400px;
    left: 50%;
    margin-left: -200px;
    top: 50%;
    margin-top: -100px;
    font-size: 12px;
    background-color: #fff;
    border: 2px solid #999;
    border-radius: 5px;
    box-shadow: 0px 0px 200px 200px #ccc;
}
#cal_form,
#alert_form {
    margin-top: -200px;
}
#file_text input[type=text],
#file_text textarea,
#file_note textarea,
#cal_form input[type=text],
#cal_form textarea,
#alert_form input[type=text],
#alert_form textarea {
    padding: 5px 10px;
    width: 100%;
    font-size: 12px;
    border: 1px solid #aaa;
    border-radius: 3px;
}
#cal_form input[type=text].wide-60,
#alert_form input[type=text].wide-60 {
    width: 60px;
    text-align: center;
}
#cal_form input[type=text].wide-90,
#alert_form input[type=text].wide-90 {
    width: 90px;
    text-align: center;
}
#file_loading {
    padding: 0px;
    width: 256px;
    height: 256px;
    margin-left: -128px;
    margin-top: -128px;
    background-color: transparent;
    background-image: url(../i/upload.gif);
    border: 0px;
    box-shadow: none;
}
.company_person {
    margin-top: 10px;
    border-bottom: 1px dashed #ccc;
}
.company_person2 {
    margin-top: 10px;
}
.company_person2 button {
    margin-top: 24px;
}
.show_filtr {
    color: #fff;
    cursor: pointer;
}
.show_filtr:hover {
    color: #eee;
}
.pointer {
    cursor: pointer;
}
#chat,
div.chat_room {
    position: fixed;
    z-index: 9999;
    bottom: -25px;
    right: 15px;
    width: 250px;
}
div.chat_room {
    right: auto;
    left: 15px;
    width: 300px;
}
div.chat_room div.panel {
    background-color: #fff;
}
#chat span.icon-min,
div.chat_room span.icon-min,
div.chat_room span.icon-close {
    cursor: pointer;
}
div.chat_room span.icon-close {
    margin-left: 5px;
}
div.chat_room div.board {
    height: 200px;
    overflow-y: scroll;
}
div.chat_room div.board div.left {
    margin-bottom: 5px;
    width: 90%;
    padding: 5px 10px;
    font-size: 12px;
    color: #036;
    background-color: #9cf;
    border-radius: 10px;
}
div.chat_room div.board div.right {
    margin-left: 9%;
    margin-bottom: 5px;
    width: 90%;
    padding: 5px 10px;
    font-size: 12px;
    color: #333;
    background-color: #ddd;
    border-radius: 10px;
}
div.chat_room textarea.mess {
    width: 100%;
    height: 40px;
    max-height: 100px;
    font-size: 12px;
    color: #000;
    border: 1px solid #ccc;
}
.online {
    margin-right: 5px;
    color: #090;
}
.offline {
    margin-right: 5px;
    color: #c00;
}
.unread {
    font-weight: bold;
}
.adm:hover {
    background-color: #eee;
    cursor: pointer;
}
#tablica {
    position: fixed;
    z-index: 999;
    width: 250px;
    top: 120px;
    right: -250px;
    background-color: #fff !important;
}
#tablica span.glyphicon-dashboard {
    position: absolute;
    top: -1px;
    margin-left: -35px;
    padding: 10px 10px 11px 10px;
    color: #fff;
    font-size: 18px;
    background-color: #0095ff;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: -1px 1px #fff;
    cursor: pointer;
}
table.raport td {
    font-size: 12px;
}
div.select2sm .select2-container .select2-selection--single {
    height: 30px;
}
div.select2sm .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
    font-size: 12px;
}
div.select2sm .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
}
.select2-container .select2-selection--single {
    height: 30px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
    font-size: 12px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
}
.input-half {
    display: inline-block;
    width: 48%;    
}
#step2,
#step3,
#step5 {
    display: none;
}
#step1 textarea {
    max-width: 100%;
}
#step2 button.add_worker,
#step3 button.add_worker,
#step4 button.add_worker,
#step5 button.add_worker {
    margin-top: 22px;
}
#step2 button.show_casting,
#step3 button.show_casting,
#step4 button.show_casting,
#step5 button.show_casting {
    margin-top: 22px;
}
#step2 button.mov_workers,
#step2 button.del_workers,
#step3 button.mov_workers,
#step3 button.del_workers,
#step4 button.mov_workers,
#step4 button.del_workers,
#step5 button.mov_workers,
#step5 button.del_workers,
#step2 button.set_workers,
#step3 button.set_workers,
#step4 button.set_workers,
#step5 button.set_workers {
    margin-left: 5px;
}
#step2 ol li label,
#step3 ol li label,
#step4 ol li label,
#step5 ol li label {
    font-weight: normal;
    cursor: pointer;
    color: #000;
}
#step2 ol li label input,
#step3 ol li label input,
#step4 ol li label input,
#step5 ol li label input {
    margin: 0px;
    vertical-align: top;
}
#step2 div.pracownicy,
#step3 div.pracownicy,
#step4 div.pracownicy,
#step5 div.pracownicy {
    margin: 5px 0px;
    padding: 5px 10px;
    overflow-x: auto;
    background-color: #fff;
    border: 1px dashed #ccc;
}
#step2 div.kontener,
#step3 div.kontener,
#step4 div.kontener,
#step5 div.kontener {
    min-width: 1250px;
    width: auto;
}
#step2 label.text,
#step3 label.text,
#step4 label.text,
#step5 label.text {
    display: inline-block;
    width: 250px;
    vertical-align: top;
    font-weight: normal;
    color: #000;
}
#step2 label.text.nszt,
#step3 label.text.nszt,
#step4 label.text.nszt,
#step5 label.text.nszt {
    color: #c00;
}
#step2 label.text.casting,
#step3 label.text.casting,
#step4 label.text.casting,
#step5 label.text.casting {    
    display: none;
}
#calendar,
#vacation {
    font-size: 12px;
}
#calendar input.filtr,
#vacation input.filtr {
    display: inline-block;
    width: 100px;
    text-align: left;
}
#calendar div.table-responsive,
#vacation div.table-responsive {
    margin-top: 5px;
}
#calendar th,
#calendar td,
#vacation th,
#vacation td {
    padding: 1px 3px;
    vertical-align: middle;
}
#calendar td,
#vacation td {
    border: 1px dashed #ccc;
    border-left: 0px;
    border-top: 0px;
}
#calendar tr td:last-child,
#vacation tr td:last-child {
    border-right: 0px;
}
#calendar .month {
    position: relative;
    width: 40px;
    border-bottom: 0px;
}
#calendar .month img {
    position: absolute;
    top: 20px;
    left: 14px;
}
#calendar .month.last {
    border-bottom: 1px dashed #ccc;
}
#calendar .weekend {
    background-color: #f0f0f0;
}
#calendar tr.today td:nth-child(2),
#calendar tr.today td:nth-child(3) {
    font-weight: bold;
}
#calendar tbody tr:hover {
    background-color: #fff;
}
#calendar tbody tr:hover td {
    border: 1px solid #999;
}
#calendar tbody tr:hover td:first-child {
    border: 0px;
}
#calendar tbody tr:hover td:last-child {
    border-right: 0px;
}
#calendar .panel-body,
#vacation .panel-body {
    padding: 5px 25px 5px 25px;
}
#vacation th,
#vacation td {
    min-width: 50px;
    width: 50px;
    max-width: 50px;
}
#vacation td.bg-success a,
#vacation td.bg-danger a {
    color: #fff;
}
#vacation td.bg-success a:hover,
#vacation td.bg-danger a:hover {
    color: #eee;
}
#vacation .weekend {
    background-color: #f0f0f0;
}
label.front {
    color: #369 !important;
    font-weight: bold !important;
}
.color0 {
    background-color: #fdd;
}
.color1 {
    background-color: #ddf;
}
.color2 {
    background-color: #dfd;
}
.color3 {
    background-color: #cee;
}
.color4 {
    background-color: #eec;
}
.color5 {
    background-color: #ece;
}
.datepicker {
    cursor: pointer;
    background-image: url(../img/calendar.png);
    background-repeat: no-repeat;
    background-position: 98% 50%;
}
.timepicker {
    cursor: pointer;
    background-image: url(../img/clock.png);
    background-repeat: no-repeat;
    background-position: 98% 50%;    
}
#step2 .proc20 {
    display: inline-block;
    width: 19%;
    margin-right: 0.5%;
    vertical-align: top;
}
#step2 .proc20 .scroll {
    height: 500px;
    margin: 10px 0px;
    padding: 5px 10px;
    overflow-y: scroll;
    overflow-x: scroll;
    background-color: #fff;
    border: 1px dashed #ccc;
}
#step2 .proc20 .btn {
    margin-bottom: 5px;
}
#step2 .proc20 .scroll label.text {
    display: block;
    vertical-align: top;
    cursor: pointer;
}
#step2 .proc20 .scroll label.bold {
    font-weight: bold;
}
#step2 .proc20 .scroll label.shift,
#step2 .proc20 .scroll label.cast,
#step2 .proc20 .scroll label.vacation {
    display: none;
}
#step2 .proc20 .scroll label.hide {
    display: none !important;
}
#step2 .proc20 .scroll label.show {
    display: block !important;
}
#step2 .proc20 .scroll label.text input {
    margin-right: 5px;
    vertical-align: text-bottom;
}
#step2 .proc20 .scroll label.front {
    color: #369;
}
@media (max-width: 767px) {
    .neo.visible-xs {
        display: inline-block !important;
        margin-left: 10px;
    }
    li.dropek,
    li.dropek div.btn-group,
    li.dropek div.btn-group button,
    li.dropek div.btn-group ul,
    li.dropek div.btn-group ul li,
    li.dropek div.btn-group ul li a {
        width: 99% !important;
        text-align: left !important;
    }
    li.dropek div.btn-group ul {
        padding-left: 5px;
    }
    li.dropek div.btn-group button {
        color: #337ab7 !important;
        background: #e6e6e6 !important;
        border-radius: 0px !important; 
    }
}
@media (max-width: 479px) {
    .nav-tabs > li > a {
        padding: 10px 8px;
    }
    li.dropek button {
        padding: 10px 8px !important;
        margin-left: 5px !important;
    }
    .btn {
        padding: 6px 10px;
    }
    #file_info,
    #dir_attr,
    #file_text,
    #file_note {
        padding: 10px;
        width: 280px;
        left: 50%;
        margin-left: -140px;
        top: 50%;
        margin-top: -100px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-nav > li > a {
        font-size: 0px;
        padding: 15px 10px !important;
        line-height: 10px;
    }
    li.dropek button {
        padding: 15px 10px !important;
    }
    .navbar-nav > li > a > span {
        margin-left: 10px;
        font-size: 16px;
    }
    li.dropek button ul li a span {
        margin-left: 10px !important;
        font-size: 16px !important;
    }
}
/*
@media (min-width: 950px) and (max-width: 991px) {
    .navbar-nav > li > a {
        font-size: 12px;
        padding: 15px 10px !important;
    }
}
*/
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-nav > li > a {
        font-size: 14px;
        padding: 15px 10px !important;
    }
}