html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

body#timeit .container {
	width: 1300px;
}
body#timeit .container-project-index, 
body#timeit .container-external-cost-index {
	width: 100%;
    max-width: 1600px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}


.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
    text-align: center;
}
.grid-view td {
    text-align: center;
}
.grid-view td.left {
    text-align: left;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.show_hide {
	cursor: pointer;
}

.help-block {
  font-size: 12px;
}


div#index-view div.outer_search {
	float: left;
	margin-right:30px;
	margin-bottom: 20px;
}
div#index-view div.outer_search .btn {
	margin:0;
}
div#index-view div.outer_search .help-block {
	display: none;
}

div#index-view div.action_buttons {
	float: right;
	margin-left:30px;
}

div#index-view .summary { 
	margin-bottom: 8px;
}

div.grid-view tr.filters input {
	text-align:center;
}

div.grid-view img {
	max-width:100px;
	background-color:#ccc; /* for transparent white pngs */
}

div.grid-view td.action .glyphicon {
	font-size: 22px;
	padding: 0 3px 0 3px;
}
/* not in use
div.grid-view .glyphicon.history-field {
	font-size: 14px;
}
* */
div.grid-view .glyphicon-trash {
	color: #f14949;
}
div.grid-view td.action {
	white-space: nowrap;
}


div.grid-view td.upd {
    /* position: relative; */
}
div.grid-view td .updater {
    position:absolute; top:3px; left:100%; margin-left:-20px; 
    cursor: pointer;
}
div.grid-view td .updater .glyphicon {
    font-size:18px;
    color: #777;
}
div.grid-view td.upd .saver {
    position:absolute;
    top:5px;
    left:5px;
    z-index: 9999;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 4px;
    opacity: 0.95;
}
div.grid-view td .saver .glyphicon {
    font-size:22px;
    margin: -2px 0 0 10px;
    vertical-align:middle;
    cursor: pointer;
}
div.grid-view td .saver .glyphicon-remove-sign {
    opacity: 0.7;
    margin-left: 5px;
}
div.grid-view td .saver .glyphicon-floppy-disk:hover {
    color: #215806;
}
div.grid-view td .saver .glyphicon-remove-sign:hover {
    color: #b70b0b;
}

/* tinyint icon changer */
div.grid-view td.upd_tinyint .icon_wrapper {
	cursor: pointer;
	display: inline-block;
	opacity: 0.15;
}
div.grid-view td.upd_tinyint .icon_wrapper.active {
	opacity: 1;
}


div#detail-view img {
	max-width: 400px;
	background-color:#ccc; /* for transparent white pngs */
}

div#detail-view div.headline {
	float: left;
}
div#detail-view div.headline h1 {
	margin-top:0;
}
div#detail-view div.action_buttons {
	float: right;
	margin-left:30px;
}


div#create-update-view h1 {
	margin-bottom: 30px;
}

div#create-update-view .panel-heading .day {
	color: #999;
}


div.admin_next_prev {
  float: right;
  margin-left:30px;
}
div.admin_next_prev a {
  font-size: 32px;
}
div.admin_next_prev a.prev {
  display: inline-block;
}
div.admin_next_prev a.next, div.admin_next_prev a.up {
	display: inline-block;
	margin-left: 10px;
}

div.action_after_success {
	/* margin-top: 50px; */
	opacity: 0.5;
}

#admin_history h3 { margin-top: 50px; }
#admin_history td.empty { opacity: 0.2; /* background-color: #fff2f2;  background-image: url(../img/stripe.png); */ }
#admin_history td a.load_field { display: none; }


/* TASK */

div.form-group {
	/* border-bottom: 1px solid #777; */
}

div.spinner button {
    font-size:12px;
}

#error_display {
    display:none;
    margin-top: 10px;
}

#calendar {
}

#calendar div.tooltip-inner, div.tooltip-ajax div.tooltip-inner {
    text-align: left;
    max-width: 500px;
    background-color: #eee;
    border: 1px solid #ddd;
    color:#343539;
}
#calendar div.tooltip-inner span, div.tooltip-ajax div.tooltip-inner span {
    color:#999;
}

/*
#calendar .current_month {
    border:1px solid #507549;
}
*/

#calendar .head {
    font-weight:bold;
    margin-bottom:3px;
}
#calendar .day {
    display: block;
    float: left;
    border-right: 1px solid #ccc;
    background-color: #eee;
    color: #000;
    padding: 5px 11px 5px 11px;
    font-size:12px;
    text-align: center;
}
#calendar a:hover.day {
    background-color: #e0eaf6;
    text-decoration: none;
}
#calendar .day.weekend {
    background-color: #ccc;
    opacity: 0.7;
}
#calendar .day.active {
    color: #fff;
    background-color: #337ab7;
}
#calendar .day.active:hover {
    color: #000;
}
#calendar .day span.past {
    font-weight:bold;
}
#calendar .day.nextprev {
    background-color:#e6e6e6;
}

.tit_float_left {
    float: left;
    margin-right: 16px;
}

.createable-info {
    display: none;
    margin-top:-7px;
    padding-bottom:8px;
    font-size:12px;
    color: #999;
}


#task-day {
    border: 2px dashed #222;
}

.ui-autocomplete .ui-menu-item {
    background-color: #eee;
    color: #000;
    font-size:12px;
}
/*
.ui-autocomplete .ui-state-hover, .ui-autocomplete li:hover.ui-menu-item, .ui-autocomplete .ui-menu-item div.ui-state-hover {
    background-color:red;
}
.ui-state-hover {
    background-color:red;
}
*/

table.table-checkable tr.checked {
    background-color: #fffad1;
}


.task-form .external_costs {
	opacity: 0.15;
	transition: opacity .25s linear;
}
.task-form .external_costs .extend {
	opacity: 0;
}
.task-form .external_costs.active,
.task-form .external_costs.active .extend,
.task-form .external_costs:hover,
.task-form .external_costs:hover .extend {
	opacity: 1;
}


.last_tasks .head {
	font-weight: bold;
	opacity: 0.2;
}
.last_tasks ul {
	list-style: none outside;
	padding-left: 0;
	padding-top: 4px;
}
.last_tasks li {
	cursor: pointer;
	font-size: 12px;
	opacity: 0.2;
	/* transition: opacity .05s linear; */
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 2px;
}
.last_tasks li:hover {
	opacity: 0.7;
}	
.last_tasks li:hover span {
	font-weight: bold;
}	


/* PROJECTS */
div.done_switcher {
    cursor:pointer;
    text-align: center;
    width:100%;
    height: 20px;
    padding-top:3px;
    font-size: 10px;
    transition: background-color 1s ease;
    color: #515549;
    border-radius: 8px;
}
div.switcher_0 {
    background-color: #ccc;
}
div.switcher_1 {
    background-color: #afe1b2;
    color: #515549;
}
div.switcher_2 {
    background-color: #fd9500;
}

/* PROJECTS -> APPROVAL */

.project-approval-wrapper .glyphicon {
	cursor: pointer;
}

.project-approval-view {
    cursor: pointer;
    font-weight: normal;
    color: #999;
}
.project-approval-view.has-tasks {
    color: #222;
}
span.project-approval-add {
    padding-left: 6px;
    /*color: #507350;*/
    font-size:20px;
    vertical-align: middle;
    margin-top: -4px;
}
ul.project-approval-list {
    list-style: none outside;
    margin-left:0;
    padding-left:0;
}
ul.project-approval-list li {
    font-size:14px;
    margin-bottom:10px;
    cursor: pointer;
}
ul.project-approval-list li:hover {
    opacity: 0.7;
}
ul.project-approval-list li .glyphicon {
    vertical-align: middle;
    font-size:26px;
    padding-right:8px;
    margin-top: -2px;
}
ul.project-approval-list li.project-approval-remove .glyphicon {
    color:#c60001;
}
ul.project-approval-list li.project-approval-reminder .glyphicon {
}

p.project-user-last-reminded {
    font-size: 12px;
}
.project-approval-wrapper div.popover { width:210px; max-width:210px; }

.project-approval-reminder-all {
	font-size: 20px;
	margin-left: 10px;
	margin-top: -4px;
	vertical-align: middle;
}

.project-set-confirmed {
	cursor: pointer;
    font-size: 18px;
    margin: -4px 3px 0 0;
    vertical-align:middle;
    color: #777;
    opacity: 0.05;
}
.project-set-confirmed.unconfirmed {
    opacity: 1.0;
}


/* USER UPDATE */
#userupdate div.submit_button_wrapper {
    float:right; /* margin-right: 220px; */
}
#userupdate div.submit_button_wrapper button {
    width: 100px;
}

#userupdate div.box {
    width: 363px; float:left; 
}
#userupdate div.box h4 {
    margin-bottom:16px;
    color:#666;
}
#userupdate div.box h4.mt {
    margin-top:50px;
}
#userupdate div.mr {
    margin-right: 90px;
}

#userupdate div#holiday_setting h4 { font-size: 22px; }
#userupdate div#holiday_setting h4 a { font-size: 28px; color:#111; text-decoration: none; }
#userupdate div#holiday_setting ul { list-style: none; margin:0; padding:0; }
#userupdate div#holiday_setting li { margin-bottom: 20px; }
#userupdate div#holiday_setting label { width: 190px; display: inline-block; }
#userupdate div#holiday_setting input { width: 100px; text-align:center; }

#userupdate div.choices_selection {  }
#userupdate div.choices_selection div.select_all { float: right; font-size:26px; }
#userupdate div.choices_selection div.select_all span { opacity: 0.3; cursor: pointer; }
#userupdate div.choices_selection ul { width: 320px; list-style: none; margin:0; padding:0; border:1px solid #ddd; }
#userupdate div.choices_selection ul li { background-color:#fff; padding:10px; border-bottom:1px solid #ddd; cursor: pointer; }
#userupdate div.choices_selection ul li:hover { background-color:#f9f9f9;}
#userupdate div.choices_selection ul li.active { background-color:#dff0d8; color:#3c763d; }
#userupdate div.choices_selection.disabled ul { opacity:0.2; }
#userupdate div.choices_selection.disabled ul li { cursor:default; }
#userupdate div.choices_selection.disabled div.select_all span { opacity: 1.0; color:#5cb85c; }

div.offwork_tables table th, div.offwork_tables table td { width: 180px; text-align: center; }
div.offwork_tables table tr th:last-child, div.offwork_tables table td:last-child { width: auto; }

div.offwork_tables div.export { float: right; margin-top: 8px; }




.crud-form-wrapper {
	max-width: 420px;
	margin-top: -45px; /* removed headline */
}


/* EXTERNAL COSTS / FREMDKOSTEN */
.external_cost-form {
	
}

.external_cost-create .crud-form-wrapper,
.external_cost-update .crud-form-wrapper {
	max-width: 520px;
}

#external_cost-GridView .table tr td:nth-child(1) { width: 130px; } /* Datum */
#external_cost-GridView .table tr td:nth-child(7) { width: 130px; } /* Netto */
#external_cost-GridView .table tr td:nth-child(8) { width: 100px; } /* Zahlungsart */
#external_cost-GridView .table tr td:nth-child(9) { width: 100px; } /* Billed */

.external_cost_months {
	float: left;
	margin-left: 32px;
	display: flex;
	gap: 8px;
}

