body, html, ul {
    margin: 0;
    padding: 0;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
    font-size: 14px;
    line-height: 1.4;
    color: #000000;
    font-family: "Open Sans", arial, verdana, sans-serif;
}

input, select, textarea, h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", arial, verdana, sans-serif;
    font-size: 14px;
}

input[type="radio"] {
    top: 1px;
    position: relative;
}

hr {
    border: 1px solid #888;
        border-top-width: 1px;
    border-top-width: 0;
}

a {
    color: #000000;
    text-decoration: none;
}

input[type="submit"]::-moz-focus-inner {
    border:0;
}

input[type="submit"],
input[type="button"],
.ui-button-text-only,
.button {
    cursor: pointer;
    display: inline-block;
    padding: 8px 15px;
    background-color: #156080;
    border: 0;
    text-align: center;
    color: #FFF;
    min-width: 180px;
    line-height: 1.4;
    box-sizing: border-box;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 10px;
    margin-left: 1ch;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
	background: #156080 !important;
    color: #FFF !important;
	border-width: 0 !important;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button {
	border-width: 0;
}

.additional.button {
    background-color: #4d4d4d;
}

input[type="submit"]:hover:enabled,
input[type="button"]:hover:enabled,
.ui-button-text-only:hover:enabled,
.button:hover:enabled,
body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover:enabled,
body .dataTables_wrapper .dataTables_paginate .paginate_button:hover:enabled,
input[type="submit"]:focus,
input[type="button"]:focus,
.ui-button-text-only:focus,
.button:focus,
body .dataTables_wrapper .dataTables_paginate .paginate_button.current:focus,
body .dataTables_wrapper .dataTables_paginate .paginate_button:focus {
  background: #0e4852 !important;
  color: #fff !important;
	border-width: 0;
}

input[type="submit"]:disabled,
input[type="button"]:hover:enabled,
.ui-button-text-only:disabled,
.button:disabled,
body .dataTables_wrapper .dataTables_paginate .paginate_button.current:disabled,
body .dataTables_wrapper .dataTables_paginate .paginate_button:disabled {
    cursor: inherit;
    opacity: 0.5;
}

.button.small,
.ui-button-text-only {
	min-width: 1px;
	width: auto;
	padding: 5px 8px;
	font-size: inherit;
	font-size: 12px;
}

/* Inline button */
.button.tiny {
    padding: 2px 0.4em;
    width: initial;
    min-width: initial;
    border-radius: 0.25em;
    font-size: 0.85em;
}

.button.inverted {
    color: #156080;
    border: 1px solid #156080;
    background-color: #FFF;
}

#top {
    width: 100%;
    padding: 10px 0 0;
    background: #f6f6f6;
    display: block;
    float: left;
}

#header {
    display: flex;
    justify-content: space-between;
}

#header, .content_outer {
    max-width: 1200px;
	width: 100%;
    margin: 0 auto;
	padding: 0 20px;
}

#header .right {
    float: right;
    padding-right: 0;
}

#footer {
    margin-top: 20px;
    padding: 20px;
	float: left;
	width: 100%;
    color: #5e5e5e;
    text-align: center;
	background: #f6f6f6;
}

#footer > img {
    vertical-align: middle;
    margin: 0 5px;
}

#content {
    text-align: center;
}

.logo-url {
    vertical-align: middle;
    margin-right: 10px;
    float: left;
    margin-bottom: 10px;
}

#header .logo {
    border-width: 0;
}
#header .logo_text {
    color: #156080;
    font-size: 30px;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}

.right {
    float: right;
}

.left {
    float: left;
}

.clear {
    clear: both;
}

.workers_list {
    width: 100%;
    border-collapse: collapse;
}

#workers_list tr td:first-child a {
    color: #156080;
}

.workers_list td,
.workers_list th {
    border: 1px solid #DEEDEE;
    padding: 3px 2px;
}

.workers_list th {
    background-color: #A7DAF4;
}

.header-right {
    float: right;
}

.user-login-data {
    width: 100%;
    text-align: right;
    float: right;
}

.header_buttons {
    display: inline-block;
    width: auto;
    float: right;
	clear: both;
}

.user-login-data a:link,
.user-login-data a:visited,
.user-login-data a:hover {
	color: #0e485a;
}

.main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	width: auto;
	display: flex;
    flex-wrap: wrap;
    justify-content: end;
	float: left;
}

.main-menu li {
	display: block;
	float: right;
	margin-right: 2px;
}

.main-menu li a {
    display: inline-block;
    padding: 10px 0 10px 8px;
    font-size: 14px;
    font-weight: bold;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    position: relative;
}
.main-menu li a .fa, 
.main-menu li a .far, 
.main-menu li a .fas {
	margin-right: 3px;
}

.main-menu li a:hover,
.main-menu li.active a {
	background-color: transparent;
	color: #156080;
}

/*
.main-menu li a:before {
	height: 2px;
    content: " ";
    background: #156080;
    left: 50%;
    right: 50%;
	opacity: 0;
    bottom: 2px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    display: block;
    position: absolute;
    float: left;
}

.main-menu li a:hover:before,
.main-menu li.active a:before {
	left: 8px;
	right: 8px;
	background: #156080;
	opacity: 1;
}
*/

.menu-mobile {
    border: 2px solid #156080;
    color: #156080;
    font-size: 30px;
    padding: 10px;
    border-radius: 3px;
    width: 50px;
    height: 50px;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 20px;
	display: none;
    right: 20px;
    top: 10px;
	margin-bottom: 10px;
	position: absolute;
}

.header_button:nth-child(2) {
	clear: both;
}

@media screen and (min-width: 980px) {
	.user-login-data a:link,
	.user-login-data a:visited,
	.user-login-data a:hover {
		padding: 0;
	}
}

@media screen and (max-width: 980px) {
    #header {
        flex-direction: column;
    }

	.header_buttons,
	.header-right,
	.main-menu	{
		width: 100%;
	}
	
	.main-menu {
		display: none;
	}
		
	.main-menu.active {
		display: block;
	}
	
	.main-menu li {
		width: 100%;
	}
	
	.main-menu li.header_button a,
	.main-menu li:not(.header_button) {
		width: 100%;
		text-align: left;
		padding-left: 0;
		border-bottom: 1px solid #aaa;
	}
	
	.main-menu li a:before {
		display: none;
	}
	
	.menu-mobile {
		display: inline-block;
	}
	
	.calendar_table td,
	.calendar_table th {
		display: none;
	}

	.calendar_table .mobile-show,
	.calendar_table .today,
	.calendar_table td.mobile-show,
	.calendar_table td.today,
	.calendar_table th.mobile-show,
	.calendar_table th.today{
		display: table-cell;
	}
	
	.calendar_table tfoot {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	.report_buttons .report_button {
		width: 100%;
	}
}
.report_buttons .report_button

.tree_preview > li > .tree_preview {
    margin-left: 15px;
}

:root {
    --form-field-max-width: 280px;
}

.wide_form {
    --form-field-max-width: clamp(280px, 40%, 420px);
}

.form_field {
    font-size: 14px;
    margin: 3px 3px 10px;
    float: left;
    width: 100%;
}

.form_field.date_field {
    width: auto;
    float: none;
	white-space: nowrap;
}

.form_field.date_field label {
    width: 30px;
    display: inline-block;
}

.report_form_field.date_field label {
    text-align: right;
    margin-right: 5px;
}

.form_field > .form_data {
    display: inline-block;
    vertical-align: middle;
    max-width: 280px;
    max-width: var(--form-field-max-width);
	/* width: 100%; */
	width: 60%;
	float: left;
	 
    text-align: left;
}
.form_field > .form_label {
    padding-right: 12px;
    text-align: right;
    
	/* min-width: 140px; */
	width: 40%;
	float: left;
	padding-top: 9px;
	
    display: inline-block;
    vertical-align: middle;
}

/*
#worker_form > .form_field > .form_label {
    width: 110px;
}

#project-form > .form_field > .form_label {
    width: 130px;
}
#organization-form .form_field > .form_label {
    width: 250px;
}*/

.form_data_text > a {
    color: #156080;
}

.form_field .help_text {
    display: inline-block;
    margin-top: 0.25em;
    opacity: 0.75;
    background-color: #fbe8ae;
    border-radius: 8px;
    padding: 6px;
}

.form_container {
    margin-bottom: 15px;
}

textarea,
select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"] {
    border: 1px solid #BFBFBF;
    padding: 7px;
	width: 100%;
    background-color: #fff;
	border-radius: 3px;
}

.select2-selection {
    font-size: 14px;
    min-height: 36px;
}

.select2-selection__rendered,
.select2-selection__arrow {
      margin: 4px;
}

@media screen and (max-width: 768px) {
	.form_field > .form_label {
		width: 100%;
		text-align: left;
	}
	
	.form_field > .form_data {
		max-width: 100%;
		width: 100%;
	}
	
	
	textarea, select, 
	input[type="text"], 
	input[type="password"], 
	input[type="email"], input[type="number"], 
	input[type="search"] {
		max-width: 100%;
	}	
}

.dataTables_length,
.dataTables_filter {
	margin-bottom: 10px;
}

.dataTables_length select,
.dataTables_filter input[type="search"]{
	width: auto;
}

.form_field textarea {
    height: 60px;
    resize: vertical;
}

.form_field input[type="checkbox"],
.form_field input[type="radio"] {
    width: auto;
    vertical-align: middle;
}


.form_field select[multiple],
select[multiple] {
    width: 600px;
    height: 200px;
}

.form_field textarea[disabled],
.form_field select[disabled],
.form_field input[disabled] {
    background-color: #f9f9f9;
    border-color: #ececec;
}

/* Notifications styles */

#notifications, #logged_out {
    display: none;
}

.ui-dialog .ui-dialog-buttonpane {
    text-align: center;

    .ui-dialog-buttonset {
        float: none;
    }
}

/* News styles */

.news {
    width: 100%;
}

.news td {
    width: 20%;
}

.news td.newsmessage {
    width: 40%;
}

.news_box_container.hidden > .news_header {
    background: url('../images/show_news.png') no-repeat 0 0 transparent;
}

.news_header {
    background: url('../images/hide_news.png') no-repeat 0 0 transparent;
    width: 27px;
    height: 115px;
    position: absolute;
    left: -27px;
    cursor: pointer;

}

.calendar-search {
	float: left;
	width: auto;
	margin-bottom: 0;
}

.calendar-search input {
    padding: 2px;
}

.calendar-search--cancel {
    display: none;
}

.calendar_table {
    width: 100%;
    border-collapse: collapse;
}

.calendar_table th,
.calendar_table tr:not(.work-day-start-row):not(.work-day-end-row) th.summary:first-child,
.calendar_table td {
    border: 1px solid #BFBFBF;
    background-color: white;
    color: #000;
    box-sizing: content-box;
}

.calendar_table th,
.calendar_table td,
.calendar_table tr:not(.work-day-start-row):not(.work-day-end-row):not(.undertimes-row):not(.overtimes-row):not(.summary-row) th.summary:first-child {
    padding: 5px;
}

.calendar_table tfoot tr > * {
	border-bottom-width: 0;
}

.form_field.form_field_admins,
.form_field.form_field_users,
.form_field.form_field_recipients {
	margin-left: 0;
	margin-right: 0;
}

.calendar_table td:last-child,
.calendar_table th:last-child  {
	border-right-width: 0;
}

.calendar_table *,
.calendar_table * {
	box-sizing: content-box;	
}

.calendar_table td.calendar_cell {
    padding: 0;
}

.project-parent-path {
	text-align: left;
	padding: 4px;
}

.calendar_table th:not(.summary) {
    background-color: #156080;
    border: None;
    color: #FFFFFF;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
}

.calendar_table tr td:nth-child(2),
.calendar_table tr td:nth-child(2) input{
    background-image: url("../images/calendar_shadow.png");
    background-repeat: repeat-y;
}

.calendar_table tr.odd td input,
.calendar_table tr.odd td {
    background-color: #fafafa;
}

.calendar_table tr.even td input,
.calendar_table tr.even td {
    background-color: #f0f0f0;
}

.summary {
	border-left-width: 0 !important;
}

.summary.filtering label {
	opacity: 0.5;
}

.calendar_table tr td.project_name,
.calendar_table tr th.project_name {
    border-bottom-color: #4b87a1;
    background-color: #156080;
    color: #FFFFFF;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    min-width: 170px;
    text-align: left;
    border-left-width: 0;
    position: relative; /* IE11 FIX */
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 22;
}

.calendar_table tr td.project_name:before,
.calendar_table tr th.project_name:before {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    height: 1px;
    background: #4b87a1;
}

/* FIREFOX */
@-moz-document url-prefix() {
    .calendar_table tr td.project_name:before,
    .calendar_table tr th.project_name:before {
        top: initial;
        bottom: 0;
    }
}


.calendar_table tr th:first-child,
.calendar_table tr td:first-child {
    position: relative; /* IE11 FIX */
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 22;
}

.calendar_table thead tr th:first-child,
.calendar_table thead tr td:first-child {
    left: 0;
    position: relative; /* IE11 FIX */
    position: -webkit-sticky;
    position: sticky;
    z-index: 333;
}

.calendar_table thead th:not(.summary) {
    position: relative; /* IE11 FIX */
    position: -webkit-sticky;
    position: sticky;
    z-index: 22;
}

.calendar_table thead tr:nth-child(2) th {
    top: 44px;
    z-index: 2222;
}

.calendar_table thead tr:nth-child(3) td {
    top: 111px;
    position: relative; /* IE11 FIX */
    position: -webkit-sticky;
    position: sticky;
    z-index: 22222;
}

.calendar_table thead tr:nth-child(3) td:before {
    content: " ";
    border-right: 1px solid #BFBFBF;
    position: absolute;
    right: -1px;
    bottom: -1px;
    top: 0;
}

.calendar_table thead tr:nth-child(3) td:after {
    content: " ";
    border-bottom: 1px solid #BFBFBF;
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
}

.calendar_table thead tr:nth-child(3) td:last-child:before {
    display: none;
}

.calendar-nav {
    position: fixed;
    top: 0;
    background: #fff;
    z-index: 55555;
    left: 0;
    width: 100%;
}

.calendar_table thead .row-header::before {
    content: " ";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    border-bottom: 1px solid #BFBFBF;
}

.calendar_table thead .row-header::after {
    content: " ";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-right: 1px solid #BFBFBF;
}

.calendar_table tr td.overall_times_by_project,
.calendar_table tr.even .today input,
.calendar_table tr.even .today,
.calendar_table tr.odd .today input,
.calendar_table tr.odd .today {
    background-color: #c0dbe7;
}

@keyframes clockframes {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.calendar_table tr.active_start_stop td.today div:before,
.calendar_table tr.active_start_stop td.today div:after {
    width: 2px;
    height: 10px;
    display: block;
    position: absolute;
    content: " ";
    background: #156080;
    transform: rotate(15deg);
    transform-origin: 50% 100%;
    left: 18px;
    margin-left: -1px;
    bottom: 17px;
    outline: 1px solid transparent; /* workaround for aliasing */
    animation-name: clockframes;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.calendar_table tr.active_start_stop td.today div:after {
    transform: rotate(55deg);
    transform-origin: 50% 100%;
    animation-duration: 60s;
    animation-delay: -15s;
    height: 8px;
}


.calendar_table tr.active_start_stop .today input {
    background-image: url(../images/clock_body.png);
	background-repeat: no-repeat;
	background-position: bottom 5px left 5px;
}


.calendar_table tr.even .free_day input,
.calendar_table tr.even .free_day,
.calendar_table tr.odd .free_day input,
.calendar_table tr.odd .free_day {
    background-color: #f1ecb4;
}

.calendar_table tr.odd .user_vacation input,
.calendar_table tr.odd .user_vacation,
.calendar_table tr.even .user_vacation input,
.calendar_table tr.even .user_vacation {
    background-color: #7DDB5E;
}

.calendar_table tr.selected {
    border: 2px solid #15a782;
}

.calendar_table tr.odd.selected td input,
.calendar_table tr.odd.selected td,
.calendar_table tr.even.selected td input,
.calendar_table tr.even.selected td {
    background-color: #E8E8E8;
}
.calendar_table tr.selected td.project_name {
    background-color: #3e8e9e;
}
.calendar_table tr.even.selected .today input,
.calendar_table tr.even.selected .today,
.calendar_table tr.odd.selected .today input,
.calendar_table tr.odd.selected .today {
    background-color: #98c0d2;
}

.calendar_table tr.even.selected .free_day input,
.calendar_table tr.even.selected .free_day,
.calendar_table tr.odd.selected .free_day input,
.calendar_table tr.odd.selected .free_day {
    background-color: #f4e290;
}

.calendar_table tr.odd.selected .user_vacation input,
.calendar_table tr.odd.selected .user_vacation,
.calendar_table tr.even.selected .user_vacation input,
.calendar_table tr.even.selected .user_vacation {
    background-color: #70BF56;
}


.calendar_table tr.even .overlapped input,
.calendar_table tr.even .overlapped,
.calendar_table tr.odd .overlapped input,
.calendar_table tr.odd .overlapped {
    background-color: #C390D4;
}

.calendar_table td.readonly,
.calendar_table td.readonly input {
    background-color: #A7A7A7 !important;
}
.calendar_table td.readonly input {
    cursor: not-allowed;
}

.calendar_cell input {
    text-align: center;
    margin: 0;
    padding: 15px 0;
    width: 100%;
    border: 0;
	border-radius: 0 !important;
}

.calendar_cell .report_time_comment {
    position: absolute;
    top: 2px;
    right: 2px;
    display: none;
}

.calendar_buttons td {
    border-width: 0 !important;
}

.calendar_cell .report_time_comment.active {
    display:block;
}

.calendar_cell:hover .report_time_comment {
    display: block;
}

.nav-icons {
    width: auto;
    display: inline-block;
    float: right;
    margin-left: 20px;
    white-space: nowrap;
}

.empty_form {
    display: none;
}

.errorlist,
.calendar_cell .errorlist {
    list-style: none;
    color: red;
    font-size: 12px;
    line-height: 14px;
    text-align: left;
}

.calendar_table td.calendar_cell.calendar_error input,
.calendar_table td.calendar_cell.calendar_error {
    background-color: #FF9E9E !important;
}

.tree_header {
    padding: 10px 5px;
    background-color: #156080;
    color: #FFFFFF;
    width: 180px;
    font-weight: bold;
}
ul.tree,
ul.tree ul {
    list-style-type: none;
    /* background: url(../images/vline.png) repeat-y; */
    margin: 0;
    padding: 0;
    text-align: left;
	position: relative;
}

.multiselect select {
	max-width: 540px;
}

ul.tree ul {
    margin-left: 10px;
    margin-bottom: 0px;
}

ul.tree li {
    margin: 0;
    padding: 0 12px;
    line-height: 25px;
}

ul.tree li .button {
    margin-left: 0.5em;
}

ul.tree .tree_icon {
    margin-right: 10px;
    vertical-align: middle;
}

ul.tree li {
	position: relative;
}

ul.tree li:before {
    content: " ";
    left: 0;
    top: 0px;
    width: 7px;
    display: block;
    position: absolute;
    border-left: 1px solid #156080;
    bottom: 0px;
}

ul.tree li:last-child:before {
	display: none;
}

ul.tree li:after {
	content: " ";
    border-bottom: 1px solid #156080;
    left: 0;
    top: 0px;
    width: 7px;
    display: block;
    position: absolute;
    border-left: 1px solid #156080;
    height: 13px;
	border-radius: 0 0 0 2px;
}

ul.tree li:before,
ul.tree li:after {
	border-width: 2px;
}

ul.tree.projects-tree-with-archived li:not(.archived-project) {
	line-height: 20px;
}

.projects-tree-with-archived li:not(.archived-project) > a {
	opacity: 0.35;
	font-size: 10px;
}

.projects-tree-with-archived ul.tree li:not(.archived-project):after {
	height: 10px;
}

ul.tree.projects-tree-with-archived li:not(.archived-project) > a  > .tree_icon {
	height: 10px;
	margin-right: 5px;
}

ul.tree li.archived-project > a:first-child {
    display: inline-block;
    font-size: 16px;
}

.report_form_container {
    margin-bottom: 10px;
}
.report_form_container .form_field.report_form_field input {
	margin-left: 0;
}

.report_form_container  .form_field.date_field {
    margin-bottom: 5px 10px;
	display: inline-block;
}

.report_form_container  .form_field.report_form_field {
    margin: 5px 10px;
    width: auto;
    display: inline-block;
    float: none;
}

.form_field.report_form_field select,
.form_field.report_form_field input {
    width: 150px;
    margin-left: 10px
}

.list_group_sublist > .form_field {
    /* Wszystkie pola w grupie wyrównane do góry, pod nimi pojawiają się błędy. */
    vertical-align: top;
}

.report_buttons {
    margin: 10px 0;
    text-align: left;
    border-bottom: 2px solid #EDEDED;
}

.report_buttons .report_button {
    display: inline-block;
    padding: 7px 15px;
	border-radius: 6px 6px 0 0;
	background: #157683;
	color: #fff;
	vertical-align: bottom;
	margin-top: 8px;
	-webkit-transition: 0.15s;
	-moz-transition: 0.15s;
	transition: 0.15s;
}

.report_button:hover,
.report_button.active {
    background: #156080;
	color: #fff;
	padding: 10px 15px;
    margin-top: 2px;
}

.table,
.report_table {
    width: 100%;	
	max-width: 100%;	
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
    display: table;
}

.table__row {
    display: table-row;
}

.table__cell {
    display: table-cell;
}

.table img {
    vertical-align: middle;
}

.table td,
.table tr.work-day-start-row th.summary:first-child,
.table tr.work-day-end-row th.summary:first-child,
.table tr.undertimes-row th.summary:first-child,
.table tr.overtimes-row th.summary:first-child,
.table tr.summary-row th.summary:first-child,
.report_table td,
.table__cell {
    border: 1px solid #BFBFBF;
    padding: 3px 10px;
    min-width: 70px;
    max-width: 300px;
}

.table tr.work-day-start-row th.summary:first-child,
.table tr.work-day-end-row th.summary:first-child,
.table tr.undertimes-row th.summary:first-child,
.table tr.overtimes-row th.summary:first-child,
.table tr.summary-row th.summary:first-child {
    text-align: left;
}

.table .overtimes-row td:after,
.table .overtimes-row td:not(:first-child):before   {
    content: " ";
    display: inline-block;
    margin-bottom: 3px;
    margin-left: 4px;
    border-bottom: 5px solid #ff9c9c;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.table .undertimes-row td:after,
.table .undertimes-row td:not(:first-child):before   {
    content: " ";
    display: inline-block;
    margin-bottom: 3px;
    margin-left: 4px;
    vertical-align: middle;
    border-top: 5px solid #ff9c9c;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.table .overtimes-row td:not(:first-child):before  {
    margin-right: 0;
    margin-left: 0;
    border-bottom-color: transparent;
}

.table .undertimes-row td:not(:first-child):before  {
    margin-right: 0;
    margin-left: 0;
    border-top-color: transparent;
}

.summary-row td:not(:first-child),
.undertimes-row td:not(:first-child),
.overtimes-row td:not(:first-child),
.work-day-start-row td:not(:first-child),
.work-day-end-row td:not(:first-child) {
	text-align: center;
}

.table .work-day-start-row th,
.table .work-day-start-row td {
    background: #caeeff;
    color: #000;
}

.table .work-day-end-row th,
.table .work-day-end-row td {
    background: #98deff;
    color: #000;
}

.table tr,
.table__row {
    background-color: #f5f5f5;
}

.table tr.odd,
.table__row.odd {
    background-color: #e8e8e8;
}

.table th,
.report_table  tr:not(.work-day-start-row):not(.work-day-end-row):not(.undertimes-row):not(.overtimes-row):not(.summary-row) th,
.table__cell--head {
    background: none repeat scroll 0 0 #156080;
    padding: 8px 10px;
    color: white;
    font-weight: normal;
}

.salaries_editor_table .form_field input {
    width: auto;
}

.table th a {
    color: white;
}

.report_table td {
    padding: 10px 5px;
}

.report_table tr td:first-child {
    text-align: left;
    width: auto;
}

.report_table .sublist.level0 td:first-child {
    padding-left: 30px;
    background: url("../images/sublist.png") 10px 7px no-repeat transparent;
}
.report_table .sublist.level1 td:first-child {
    padding-left: 45px;
    background: url("../images/sublist.png") 25px 7px no-repeat transparent;
}
.report_table .sublist.level2 td:first-child {
    padding-left: 60px;
    background: url("../images/sublist.png") 40px 7px no-repeat transparent;
}
.report_table .sublist.level3 td:first-child {
    padding-left: 75px;
    background: url("../images/sublist.png") 55px 7px no-repeat transparent;
}
.report_table .sublist.level4 td:first-child {
    padding-left: 90px;
    background: url("../images/sublist.png") 70px 7px no-repeat transparent;
}
.report_table .sublist.level5 td:first-child {
    padding-left: 105px;
    background: url("../images/sublist.png") 8px 7px no-repeat transparent;
}

.report_table .summary {
    font-weight: bold;
}

.report_table tr.odd {
    background-color: #f5f5f5;
}

.report_table tr.even {
    background-color: #e8e8e8;
}

.report_table tr.sublist:nth-child(odd) {
    background-color: #d8d8d8;
}

.report_table tr.sublist:nth-child(even) {
    background-color: #c8c8c8;
}

.report_content .report_table tr td.red {
    background-color: #F56E6E;
}

.report_content .report_table tr td.green {
    background-color: #70BF56;
}

.report_control_buttons span {
    cursor: pointer;
}

.report_control_buttons span:hover {
    color: #C4C4C4;
}

.news_box_container {
    float: right;
    width: 150px;
    padding: 0 5px;
    min-height: 400px;
    background-color: #EEEEEE;
    position: relative;
}
.news_box_container.hidden {
    width: 0;
    padding: 0;
}
.news_box_container.hidden > .news {
    display: none;
}
.news_content,
.news_author {
    font-size: 12px;
    line-height: 18px;
    margin: 6px 0 0;
}

.news h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.news {
    margin-bottom: 10px;
}

.unset_times {
	list-style: none;
	display: block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px 20px;
	float: left;
	margin-top: 20px;
	margin: 20px 20px 10px;
	background: #f9f9f9;
	border: 1px solid #eee;
}

.unset_times li {
	padding-left: 20px;
	position: relative;
	width: 100%;
	display: block;
	float: left;
	border-bottom: 1px solid #ddd;
	padding-top: 3px;
	padding-bottom: 3px;
}

.unset_times li:before {
	display: block;
	float: left;
	width: 5px;
	height: 5px;
	border-radius: 2px;
	border: 1px solid #888;
	position: absolute;
	left: 0;
	content: " ";
	top: 9px;
}

.unset_times li:last-child {
	border-bottom-width: 0;
}

.unset_times .project_name {
    font-weight: bold;
}

.unset_times ul{
    list-style: none;
    padding-left: 20px;
}

.calendar_table tr.calendar_buttons > td {
    background-color: #e8e8e8;
    border: 1px solid #bfbfbf;
    text-align: right;
}
.calendar_buttons a.button.small {
    border-radius: 0;
    min-width: 14px;
    margin: 3px;
}

.project_favourite {
    cursor: pointer;
    width: 16px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}
.project_favourite.favourite-yes {
    background: url("../images/favourite_yes.png") 0 0 no-repeat transparent;
}
.project_favourite.favourite-no {
    background: url("../images/favourite_no.png") 0 0 no-repeat transparent;
}

.project_name.read-only .project_favourite {
    cursor: inherit;
}

.tooltip-info,
.project_details {
    cursor: help;
    float: right;
    width: 16px;
    height: 16px;
    background: url("../images/project_description.png") 0 0 no-repeat transparent;
}
.tooltip-info,
.tooltip-dark {
    float: none;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.tooltip-dark {
    cursor: help;
    float: right;
    width: 16px;
    height: 16px;
    background: url("../images/tooltip-dark.png") 0 0 no-repeat transparent;
}

.stop_project {
    display: inline;
}

.stop_project a {
    cursor: pointer;
    text-decoration: underline;
}

.start_project {
    cursor: pointer;
    padding: 5px;
    width: 7px;
    height: 9px;
    display: inline-block;
    float: right;
    vertical-align: middle;
	margin: 3px;
    background: url("../images/calendar_fwd.png") 0 0 no-repeat transparent;
}

#content.full_width {
    width: 100%;
}

#dialog_form_container {
    text-align: center;
    display: none;
}
#dialog_form_container textarea {
    width: 260px;
}

.padding_bottom_10 {
    padding-bottom: 10px;
}

#monthly_report {
    width: 100%;
    height: 100%;
}

.autosubmit.form_field  {
	width: auto;
	float: none;
	display: inline-block;
	margin: 5px;
}

.autosubmit.form_field select {
	width: auto;
}

#map {
    width: 700px;
    height: 300px;
    margin: 0 auto !important;
}

.box {
    width: 100%;
    margin: 50px auto 0;
    border: 3px solid #bfbfbf;
    padding: 20px;
    max-width: 510px;
}

.box > .header {
    font-size: 30px;
    color: #156080;
    text-align: center;
    border-bottom: 1px solid #156080;
    margin: 0 0 20px;
}
.box > .header > img {
    vertical-align: middle;
}

.box > .header > .box_title {
    font-size: 20px;
    line-height: 24px;
    padding: 15px 0 10px;
}

.box .button_container {
    margin: 20px 0 0 0;
    font-size: 18px;
    text-align: left;
	text-align: center;
}

.password-reset-nav {
	display: inline-block;
	font-size: 14px;
	margin: 10px 0;
	text-align: left;
}

.reset_password_button {
    top: -5px;
    position: relative;
}

.box .box_content_header {
    padding: 10px 20px;
}

h2 {
	color: #156080;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.4;
	text-transform: uppercase;
	margin: 8px 0
}

h4 {
    color: #156080;
}

h5 {
    color: #156080;
    text-align: center;
    border-bottom: 1px solid #156080;
    margin: 10px 0;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    padding: 5px 0;
    text-align: left;
}

.info_box {
    margin: 20px 0;
    padding: 10px 10px 10px 45px;
    /* border: 1px solid #e8e8e8; */
    background: url('../images/info.png') no-repeat scroll 11px center #f5f5f5;
    min-height: 55px;
    text-align: left;	
}

.errors {
	margin: 10px 0;
	/* border: 1px solid #c38585; */
	background-color: #f1b4b4;
	color: black;
	padding: 7px;
	text-align: center;
	border-radius: 3px;
}

.errors > a {
    text-decoration: underline;
}

.errors > .errorlist > li {
    color: #000000;
}

.buttons_container,
.fixed-nav .ui-dialog .buttons_container /* Ignore .fixed-nav override */
{
    border-top: 1px solid #bfbfbf;
    text-align: left;
    padding-top: 10px;
    margin-top: 10px;
	float: left;
	width: 100%;
	text-align: center;
	position: static;
}

.fixed-nav .buttons_container {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	z-index: 2000;
}

.ui-dialog .buttons_container {
    text-align: right;
}

.center {
    text-align: center;
}

.dialog_content {
    display: inline-block;
    width: 400px;
    vertical-align: top;
}
.dialog_buttons {
    padding: 10px 0 0;
    margin: 10px 0 0;
    border-top: 1px solid #bfbfbf;
}
.dialog_icon {
    display: inline-block;
    width: 60px;
    vertical-align: top;
}

.dialog_content > h6 {
    font-weight: normal;
    border-bottom: 1px solid #bfbfbf;
    margin: 0 0 10px;
    padding: 0 0 10px;
    font-size: 14px;
    line-height: 20px;
}

.dialog_content > table th {
    text-align: right;
    width: 135px;
    vertical-align: top;
}

.dialog_content > table td {
    padding-left: 5px;
}

.vertical {
    vertical-align: middle;
}

.show_favourites {
    color: #156080;
    font-weight: 600;
}

.show_favourites {
	float: left;
	margin: 0 0 10px;
}

.bottom-calendar-nav {
	margin-top: 10px;
	width: 100%;
	display: block;
	float: left;
}

.show_favourites img {
	vertical-align: top;
}

.image_field .dummy_input {
    position: absolute;
    filter: alpha(opacity=0);
    opacity: 0;
    -moz-opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    cursor: pointer;
}
.image_field {
	position: relative;
}

.image_field input[type="text"] {
    /*width: 265px;*/
}

.image_field button {
    min-width: 0;
    padding: 9px 10px;
	position: absolute;
	right: 0;
	top: 0;
}

.image_field .form_data {
    position: relative;
    padding-right: 90px;
}


.hasDatepicker {
    background-image: url("../images/calendar.png");
    background-position: right center;
    background-repeat: no-repeat;
}

.reset_password_form .form_label {
    min-width: 100px;
}

.new_organization > .form_field .form_data_text {
    display: inline-block;
    vertical-align: middle;
}
.new_organization .form_field_password2 {
    display: none;
}

.new_organization .form_field.required:after,
.reset_password_form .form_field.required:after {
    content: '*';
    color: red;
	position: absolute;
}

.form_field_rules_accept .form_label,
.form_field_data_accept .form_label,
.form_field_marketing_accept .form_label {
    display: none;
}

.new_organization .form_field > .form_data.checkbox-field,
.reset_password_form .form_field > .form_data.checkbox-field {
    width: 100%;
    max-width: 500px;
}

.new_organization .terms,
.reset_password_form .terms {
    font-size: 0.95em;
}

.row {
	margin: 0 -10px;
}

.col {
    box-sizing: border-box;
    float: left;
    padding: 10px;
}
.col-md-6,
.col-6 {
    width: 50%;
}

@media screen and (max-width: 900px) {
	.col-md-6,
	.col-6 {
		width: 100%;
	}
}

.col-10 {
    width: 83.33%;
}

.col-2 {
    width: 16.67%;
}
.col-2:first-child,
.col-6:first-child,
.col-10:first-child {
    padding-left: 0;
}
.col-2:first-child,
.col-6:first-child,
.col-10:last-child {
    padding-right: 0;
}

.col-6 .col-box,
.col-md-6 .col-box {
    border: 1px solid #c0c0c0;
    padding: 20px;
    margin-bottom: 20px;
	border-radius: 3px;
}

.col-box h3.page-header {
	margin: -20px -20px 20px;
	padding: 8px;
	background: #157683;
	color: #fff;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 18px;
}

div#datepicker.hasDatepicker {
    background-image: none;
}

body .ui-datepicker td span, body .ui-datepicker td a {
	border-width: 2px;
	border-color: transparent;
	border-style: solid;
}

body .ui-datepicker.ui-widget-content .ui-state-highlight {
	border-width: 2px;
	border-style: solid;
}

body .ui-datepicker.ui-widget-content .ui-state-highlight {
	border-color: #18cc86;
}

body .ui-datepicker-current-day a {
    background-color: #156080 !important;
	background-image: none !important;
	color: #fff !important;
}

body .ui-datepicker td span,
body .ui-datepicker td a {
	border-radius: 2px;
	text-align: center;
}

body .ui-datepicker .ui-datepicker-title {
	text-transform: uppercase;
}

.day-box {
	display: block;
	float: left;
	width: 100%;	
	text-align: left;
	margin-bottom: 20px;
}

.day-box.empty {
	opacity: 0.5;
}

.day-box .title{
	display: table;
	float: left;
	width: 100%;
	border-bottom: 2px solid #156080;
	line-height: 1.4;
	font-size: 18px;
	padding: 5px 0;
	font-weight: bold;
	color: #156080;
}

.day-title-date {
	display: table-cell;
	vertical-align: middle;
}

.day-box .day-time-summary {
	display: table-cell;
	width: 60px;
	vertical-align: middle;
	text-align: right;
	color: #666;
	font-size: 14px;
}

.day-box .project {
    width: 100%;
    display: table;
    table-layout: fixed;
    padding: 5px 8px;
    background: #f9f9f9;
    margin: 0 0 2px;
}

.day-box .project:nth-child(2n) {
	background: #f0f0f0;
}

.day-box .project,
.day-box .project:nth-child(2n) {
	background: transparent;
	padding-left: 0;
	padding-right: 0;
}

.day-box .project .project-name {
	display: table-cell;
	padding-left: 16px;
	position: relative;
}

.day-box .project .project-name:before {
	content: " ";
	border: 1px solid #888;
	border-radius: 2px;
	width:  6px;
	height: 6px;
	top: 6px;
	position: absolute;
	left: 0;
}

.day-box .project .project-path {
	color: #888;
	width: 100%;
	display: block;
}

.project-title.with-path {
	width: 100%;
	display: block;
	padding-left: 15px;
	position: relative;
}

.project-title.with-path:before {
	content: " ";
	display: block;
	border-left: 2px solid #888;
	border-bottom: 2px solid #888;
	position: absolute;
	left: 5px;
	bottom: 9px;
	top: 0;
	width: 5px;
}

.day-box .project .project-time {
	display: table-cell;
	width: 50px;
	text-align: right;
	font-weight: bold;	
	color: #666;
}

.dashboard-calendar-box .ui-datepicker {
	border-width: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.checkbox-sorter {
	display: block;
	float: left;
	width: 100%;
	margin-bottom: 20px;
	text-align: left;
}

.checkbox-sorter select {
	display: none;
}

.checkbox-sorter .checkboxes-sortable-list label {
	display: block;
	float: left;
	width: 33.333%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 5px 10px 5px 30px;
	position: relative;	
	font-size: 18px;
	text-align: left;
	color: #4d4d4d;
	cursor: pointer;
}

@media screen and (min-width: 1201px) {
	.checkbox-sorter .checkboxes-sortable-list label {
		width: 25%;
	}
}

@media screen and (max-width: 900px) {
	.checkbox-sorter .checkboxes-sortable-list label  {
		width: 50%;
	}
}

@media screen and (max-width: 600px) {
	.checkbox-sorter .checkboxes-sortable-list label  {
		width: 100%;
	}
}

.checkbox-sorter .checkboxes-sortable-list label span:before {
	content: " ";
	border: 1px solid #666;
	border-radius: 2px;
	width: 14px;
	height: 14px;
	display: block;
	position: absolute;
	left: 0;
	top: 7px;
}

.checkbox-sorter .checkboxes-sortable-list label input[type="checkbox"]:checked + span:after {
	content: " ";
	border: 1px solid #666;
	background: #156080;
	border-radius: 2px;
	width: 10px;
	height: 10px;
	display: block;
	position: absolute;
	left: 2px;
	top: 9px;
}

.checkbox-sorter .checkboxes-sortable-list label input[type="checkbox"] {
	position: absolute;
	left: 0;
	top: 6px;
	opacity: 0;
}

.checkbox-sorter .checkboxes-sortable-list label input[type="checkbox"]:checked + span {
	color: #156080;
}

.checkbox-sorter .checkbox-sorter-filter {
	background: #f6f6f6;
    padding: 10px;
    border-radius: 3px;
    margin: 0 0 10px;
    border: 1px solid #ddd;
	display: block;
	float: left;
	width: 100%;
}

.checkbox-sorter .checkboxes-sortable {
	border: 2px solid #156080;
	border-radius: 2px;
	display: block;
	float: left;
	width: 100%;
	padding: 20px 10px;
}

.checkbox-sorter .checkboxes-sortable > .summary {
    background: #dbebf2;
    text-align: left;
    padding: 10px;
    margin: -20px -10px 0 -10px;
    float: left;
    box-sizing: content-box;
    min-width: 100%;
    display: block;
}
.checkbox-sorter.requiredMultiselect .checkboxes-sortable > .summary {
    background: #f2dbdb;
}

.checkbox-sorter.requiredMultiselect .checkboxes-sortable {
	border-color: #801515;
}
.checkbox-sorter.requiredMultiselect .checkboxes-sortable {
	background: #f8eded;
}

.checkbox-sorter .reorder {
    margin: 5px 0 0;
}

.checkboxes-sortable > .summary label {
	float: right;
	margin-right: 10px;
}

.checkboxes-sortable > .summary label:nth-child(2) {
	margin-right: 0;
}

.ui-widget-content {
	border: 1px solid #999;
	background: #fff;
}

.ui-dialog.ui-widget-content {
	box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.ui-widget-header {
	font-size: 18px;
}

.ui-dialog .ui-dialog-titlebar-close {
	font-family: "FontAwesome";
	color: #fff;
	background: none !important;
}

.ui-dialog .ui-dialog-titlebar-close:before {
	content: "\f00d";
}

.worker-error-link {
	white-space: nowrap;
}

.worker-error-link {
	color: #156080;
}
.report-ok {
	color: #298015;
}

.stickyFooter > .cookies-box,
.cookies-box {
	display: none;
	float: left;
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #156080;
  z-index: 10000;  /* walczyło z ganttem */
}

.cookies-box .cookies-box-content {
    color: #fff;
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
}

.cookies-box  .cookies-box-content a {
	color: #eee;
	text-decoration: underline;
}

.cookies-box  .cookies-box-content .cookies-nav {
	width: 100%;

	text-align: right;
}

body table.dataTable {
	margin-bottom: 10px;
	width: 100% !important;
}

@media screen and (max-width: 480px) {
	.logged-in-span {
		display: block;
		float: left;
		 width: 100%;
	}
	
	.logged-in-span strong {
		display: inline-block;
	}
	
	.logout-btn {
		margin: 0 !important;
	}
}

body table.dataTable.no-footer {
	border-bottom-width: 0;
}

body table.dataTable tfoot th,
body table.dataTable tfoot td {
	border-top-color: #e6e6e6;
}

.gantt-v1 {
    /* Gwarancja że przynajmniej część diagramu będzie widoczna po kliknięciu "Pokaż...".
     * 150px to ~wysokość nagłówka i stopki. */
    min-height: 150px;
}

body .fn-gantt {
	border: 2px solid #156080;
	overflow: hidden;
}

body .fn-gantt * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.fn-gantt .leftPanel .fn-label {
	text-align: left;
}

.checkbox-field {
	padding-left: 20px;
	position: relative;
}

.checkbox-field  input {
	position: absolute;
	left: 0;
	top: 3px;
	margin: 0;
}

.ui-dialog-titlebar-close .ui-button-text,
.ui-dialog .ui-dialog-titlebar-close:focus {
	outline: none;
}

.stickyFooter {
    display: table;
    height: 100vh;
    width: 100%;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.stickyFooter > * {
    display: table-row;
    width: 100%;
    float: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.stickyFooter .body-content {
    height: 100%;
}

.stickyFooter .body-content-cell {
    vertical-align: top;
    display: table-cell;
}

.calendar_buttons td {
    position: sticky;
    top: 0;
    z-index: 11111;
}

.ui-front {
    z-index: 99999;  /* Największy z-index */
}

.project-list-buttons {
    position: relative;
    height: 0;
    z-index: 1;
}
.project-list-buttons > * {
    float: right;
    max-width: min-content;
}
.show-gantt-button {
    min-width: 210px;
}
