html {
    overflow-y: auto;
}


#page
{
    min-height: 100vh;
    background: rgba(217, 217, 217, 0.2);
}



#sidemenuToggle {
    position: fixed;
    left: calc(0px + var(--left-side-width));
    top: 115px;
    width: 38px;
    height: 44px;
    cursor: pointer;
    z-index: 101;
    background: white url(../../images/svg/plus.svg) center center no-repeat;
    background-size: 50% auto;
    box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -moz-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    border-radius: 0 5px 5px 0;
}
#sidemenuToggle.active
{
    background: white url(../../images/svg/minus.svg) center center no-repeat;
    background-size: 50% auto;
	/*
    box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -moz-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
	*/
}

input#topsearch
{
	height: 60px;
    border: 0;
    padding: 0 65px 0 65px;
    font-size: 18px;
    width: 100%;
    background: #fff url(../../images/svg/search.svg) no-repeat 15px center;
    background-size: 28px auto;
    box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -moz-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    border-radius: 5px;
}
nav#leftside {
    z-index: 999;
    box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -moz-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
}
div#topmenus {
    padding-top: 0;
    background: rgb(247 247 247);
    padding-bottom: 0;
    border-bottom: 1px solid #efefef;
}
div#searchContainer {
    width: 60%;
    max-width: 600px;
    top: 14px;
    margin-left: 45px;
}
.search-cell > div {
    background: transparent;
}
.options-cell.topmenu-cell {
    background: transparent;
    border-left: 1px solid #efefef;
    padding-top: 20px;
    padding-bottom: 20px;
	
    width: 140px;
}
.search-cell
{
    width: calc(100% - 295px);
}
div#topmenus > .row
{
}
table.crm-timesheet-table {
    background: white;
}

#timesheettabs {
    background: transparent;
	width: calc(100% - 180px);
}
#timesheettabs a 
{
    display: inline-block;
    color: #929292;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 20px;
    box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -moz-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    border-top: 1px solid #cccccc47;
    border-left: 1px solid #cccccc47;
    border-right: 1px solid #cccccc47;
	background: #f7f7f7 !important;
	
    border-top-width: 2px;
    border-top-color: transparent;
	
    border-bottom-width: 3px;
    border-bottom-color: grey;
}

#timesheettabs a.theCurrentUser
{
	text-decoration: none;
	background: #ffffff !important;
}
#timesheettabs a:not(.theCurrentUser):hover,
#timesheettabs a.activeTab
{
	text-decoration: none;
	background: #ffffff !important;
}


/* user tab colors */
	#timesheettabs a[data-user-id="20"] {
		border-bottom-color: #93c47d;
	}
		#timesheettabs a[data-user-id="20"].theCurrentUser {
			border-top-color: #93c47d;
		}
	
	#timesheettabs a[data-user-id="18"] {
		border-bottom-color: #e06666;
	}
		#timesheettabs a[data-user-id="18"].theCurrentUser {
			border-top-color: #e06666;
		}
		
	#timesheettabs a[data-user-id="1"] {
		border-bottom-color: #6d9eeb;
	}
		#timesheettabs a[data-user-id="1"].theCurrentUser {
			border-top-color: #6d9eeb;
		}
		
	#timesheettabs a[data-user-id="4"] {
		border-bottom-color: #ffd966;
	}
		#timesheettabs a[data-user-id="4"].theCurrentUser {
			border-top-color: #ffd966;
		}
		
	#timesheettabs a[data-user-id="15"] {
		border-bottom-color: #e69138;
	}
		#timesheettabs a[data-user-id="15"].theCurrentUser {
			border-top-color: #e69138;
		}
		
	#timesheettabs a[data-user-id="12"] {
		border-bottom-color: #8e7cc3;
	}
		#timesheettabs a[data-user-id="12"].theCurrentUser {
			border-top-color: #8e7cc3;
		}
		
	#timesheettabs a[data-user-id="17"] {
		border-bottom-color: #d5a6bd;
	}
		#timesheettabs a[data-user-id="17"].theCurrentUser {
			border-top-color: #d5a6bd;
		}
	

div#maincenter > .center-content h2.page-heading {
    margin-bottom: 25px;
}
table.crm-timesheet-table th
{
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
}
table.crm-timesheet-table td {
    padding-top: 4px;
    padding-bottom: 6px;
    position: relative;
    overflow: hidden;
	min-width: 110px !important;
}

table.crm-timesheet-table tfoot td {
    padding: 10px 0 10px 0px;
    line-height: normal;
}


table.crm-timesheet-table button#addtotimesheet,
table.crm-timesheet-table button#addnewproject,
table.crm-timesheet-table button#addnewprocess
{
    height: 26px;
    font-size: 14px;
    width: 100%;
    border: 0px transparent;
    padding: 0;
    font-weight: 700;
    top: 0;
    position: absolute;
    left: 0;
    height: 100%;
}
table.crm-timesheet-table button.savetotimesheet
{
    height: 26px;
    font-size: 14px;
    width: 50%;
    border: 0px transparent;
    padding: 0;
    font-weight: 700;
    top: 0;
    position: absolute;
    right: 0;
    height: 100%;
	background: black;
	color: white;
}
table.crm-timesheet-table td > span, 
.crm-pivot-table th > span {
    display: block;
	padding: 0 10px;
}

table.crm-timesheet-table.crm-pivot-table
{
	position: static !important;
}
table.crm-timesheet-table.crm-pivot-table th:empty {
    display: none;
}


button#addtotimesheet {
    background: #5931fb;
	color: white;
}
button#addtotimesheet:hover,
button.savetotimesheet:hover
{
	background: black;
}

button.insert-now-button.date-now,
button.insert-now-button.from-now,
button.insert-now-button.to-now {
    top: 11px;
    font-size: 16px;
    font-weight: bold;
}
button.insert-now-button:hover
{
    color: #5931fb;
    outline: none;
    text-shadow: none;
}
button.insert-now-button:focus,
button.insert-now-button:focus-visible
{
    color: black;
    outline: none;
    text-shadow: none;
}



td.sum_time,
tfoot span {
    font-weight: bolder;
}
table.crm-table tr:first-child th,
table.crm-timesheet-table tr:first-child th,
table.crm-timesheet-table tfoot td,
table.crm-timesheet-table tfoot td:last-child span
{
    font-size: inherit;
}


.daterangepicker.ltr.show-calendar.opensbottom {
    z-index: 9999 !important;
    background: white !important;
    border: 1px solid #ccc !important;
    box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -moz-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    border-radius: 5px;
}


table.crm-timesheet-table td.project_name
{
    width: 220px;
}
table.crm-timesheet-table td:nth-child(2) {
    width: 240px;
}
table.crm-timesheet-table td.task_name
{
    width: auto;
}
table.crm-timesheet-table td.task_date
{
    width: 130px;
}
table.crm-timesheet-table td.task_from,
table.crm-timesheet-table td.task_to,
table.crm-timesheet-table td.sum_time,
table.crm-timesheet-table td.task_time
{
    width: 90px;
}
table.crm-timesheet-table td.project_remainin_time
{
    width: 115px;
}
table.crm-timesheet-table td.description
{
    width: 260px;
    position: relative;
}
.crm-timesheet-table tbody td.description input[value=""] {
    background: transparent !important;
}
@media all and (min-width: 1510px)
{
	/*
	table.crm-timesheet-table th:nth-child(7):after {
		content: "❢";
		position: fixed;
		right: 195px;
		top: 402px;
		background: #5931fb;
		width: 30px;
		height: 31px;
		color: #ff9797;
		font-size: 16px;
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 999;
		align-content: center;
		overflow: hidden;
	}
	*/
}


	/*pivot table*/
	table.crm-timesheet-table.crm-pivot-table td {
		width: auto !important;
		max-width: none !important;
	}

	table.crm-timesheet-table.crm-pivot-table thead tr th:first-child, table.crm-timesheet-table.crm-pivot-table tr td:first-child {
		width: 240px !important;
		position: absolute;
		left: 0;
		height: auto;
		background: #fff;
		margin-top: -1px;
		border-top: 0;
		border-right: 0;
	}

.crm-timesheet-table.crm-pivot-table {
    overflow-x: auto;
    max-width: calc(100% - 240px);
    width: 100%;
    margin-left: 240px;
    margin-bottom: 40px;
}
div.crm-timesheet-table.crm-pivot-table {
    border-left: 1px solid #acacac;
}
table.crm-timesheet-table.crm-pivot-table {
    border-left: 0 solid #acacac !important;
}
table.crm-timesheet-table.crm-pivot-table thead tr th:first-child {
    border-top: 1px solid #acacac;
}


span.select2.select2-container.select2-container--default
{
	width: 240px !important;
}
select.banner-channels option, .select2-container--default .select2-results__option--selectable, .select2-selection__choice__display {
    font-size: 13px !important;
    line-height: normal !important;
    border-top: 1px solid #5897fb !important;
	
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 50px;
	position: relative;
}

.select2-results__option--selectable:before {
    content: "";
    position: absolute;
    height: 5px;
    width: 100%;
    background: white;
    left: 0;
    top: 0;
}
.select2-results__option--selectable:after {
    content: "";
    position: absolute;
    height: 5px;
    width: 100%;
    background: white;
    left: 0;
    bottom: 0;
}



.crm-timesheet-table * {
    font-size: 14px;
}
table.crm-timesheet-table th input
{
}

table.crm-timesheet-table tr:first-child th {
    padding-left: 10px;
    padding-right: 10px;
}
div#timesheetdata
{
    overflow-x: auto;
    overflow-y: hidden;
}
.table-inner-scroll {
    width: 100%;
    overflow-x: auto;
}
.crm-timesheet-table {
    overflow: inherit;
    margin-bottom: 100px;
}
table.crm-timesheet-table {
    margin-bottom: 0px;
}

.crm-timesheet-table table.crm-timesheet-table {
    width: auto;
    min-width: 1640px;
}
td.sum_time {
    padding-left: 0 !important;
}
td.sum_time > span {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

body.post-type-archive-timesheet tbody > tr.tr_separator
{
    border-top: 10px double #acacac;
}
body.post-type-archive-timesheet tbody > tr.tr_separator:first-child {  
    border-top: 10px double #acacac;
}
tfoot {
    border-top: 10px double #acacac;
}

.report-project {
	flex: calc(25% - 40px);
    margin-bottom: 0;
    border: 1px solid #e8e8e8;
    box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
    -moz-box-shadow: 3px 2px 11px -4px rgb(0 0 0 / 25%);
	background: white;
}
@media all and (max-width: 1580px)
{
	.report-project {
		flex: calc(100%/3 - 40px);
	}
}
@media all and (max-width: 1380px)
{
	.opened .project-inner {
		width: 1240px;
	}
	.report-project {
		overflow-x: auto;
	}
}
@media all and (max-width: 1180px)
{
	.report-project {
		flex: calc(100%/2 - 40px);
	}
}
@media all and (max-width: 780px)
{
	.report-project {
		flex: 100%;
	}
}

.report-project-percentage, .report-project-hours-left {
    border-top: 1px solid #e8e8e8;
}

div#maincenter > .center-content .report-project h2 {
    font-weight: bolder;
    background: #e8e8e8;
    margin: 0;
    padding: 12px 52px 12px 12px ;
}

div#maincenter > .center-content .report-project h2::after {
    content: '';
    position: absolute;
    right: 10px;
    top: calc(50% - 7px);
    border-left: 2px solid #acacac;
    border-bottom: 2px solid #acacac;
    width: 10px;
    height: 10px;
    display: block;
    transform: rotate(315deg);
}
	div#maincenter > .center-content .report-project.opened h2::after {
		transform: rotate(135deg);
		top: calc(50% - 3px);
	}

div#reportprojects:not(.openedList) {
    margin: 0 auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	gap: 20px;
    margin-bottom: 120px;
}
div#reportprojects.openedList {
    margin: 0 auto;
    display: block;
}
	div#reportprojects.openedList .report-project {
		margin: 20px 0;
	}


div#maincenter > .center-content .report-project.opened h2 {
    background: black;
    color: white;
}


span.time__still_left {
    color: green;
}
.time__still_left:after {
    content: '';
    position: absolute;
    right: 5px;
    top: 13px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid green;
    clear: both;
}

span.time__ran_out {
    color: red;
}
.time__ran_out:after {
    content: '';
    position: absolute;
    right: 5px;
    top: 13px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid red;
    clear: both;
}

body.post-type-archive-timesheet tbody > tr:nth-child(odd),
body.post-type-archive-timesheet tbody > tr:nth-child(odd) span,
body.post-type-archive-timesheet tbody > tr:nth-child(odd) input,
table.report-project-table tbody tr:nth-child(odd),
table.report-project-timesheets tbody tr:nth-child(odd),
table.crm-timesheet-table tbody tr:nth-child(odd),
table.crm-timesheet-table tbody tr:nth-child(odd) input
{
    background: #f4f2f2;
}


/*
table.report-project-table tr:nth-child(7n+1) { background-color: #f15123; }
table.report-project-table tr:nth-child(7n+2) { background-color: #3491dd; }
table.report-project-table tr:nth-child(7n+3) { background-color: #f4b138; }
table.report-project-table tr:nth-child(7n+4) { background-color: #3d57a7; }
table.report-project-table tr:nth-child(7n+5) { background-color: #fd7b23; }
table.report-project-table tr:nth-child(7n+6) { background-color: #6fb766; }
table.report-project-table tr:nth-child(7n+7) { background-color: #4dd4af; }
*/

table.report-project-table tr
{
	-webkit-transition: all .1s;
	-o-transition: all .1s;
	transition: all .1s;
}
table.report-project-table tr:hover
{
	background-color: #6fb766 !important;
	-webkit-transition: all .1s;
	-o-transition: all .1s;
	transition: all .1s;
}
table.report-project-table tfoot tr:hover { background-color: transparent !important; }

table.report-project-table th, table.report-project-table td {
    padding-top: 5px;
    padding-bottom: 5px;
}


.egyedi-nezet .date-range-selector.dr-en {
    float: right;
    display: flex;
    height: 85px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
.egyedi-nezet .date-range-selector.dr-en > .select2,
.egyedi-nezet .date-range-selector.dr-en > select,
.egyedi-nezet .date-range-selector.dr-en > input
{
    margin: 0 5px 0 5px;
}
.egyedi-nezet .date-range-selector.dr-en > input:last-child
{
    margin: 0 0 0 5px;
}

input.search_line {
    display: none;
}
.opened input.search_line {
    display: block;
    margin-left: 10px;
    margin-bottom: 20px;
    margin-top: 15px;
    width: 100%;
    max-width: 300px;
}

.opened table.report-project-table tr.active input,
.opened table.crm-timesheet-table tr.active input
{
    background: transparent !important;
}
.opened table.report-project-table tr.active *,
.opened table.crm-timesheet-table tr.active * {
    color: black;
}
.opened table.report-project-table tr.active,
.opened table.crm-timesheet-table tr.active {
    background: #dad3ff;
}



@media all and (max-width: 1480px)
{
	.egyedi-nezet .date-range-selector.dr-en {
		float: none;
		height: auto;
		display: block;
		width: 100% !important;
		margin: 0;
		margin-bottom: 20px;
		max-width: unset;
		text-align: left;
	}
}
@media all and (max-width: 980px)
{
	.egyedi-nezet .date-range-selector.dr-en {
		float: none;
		height: auto;
		display: block;
		width: 100% !important;
		margin: 0;
		max-width: unset;
	}
	.egyedi-nezet .date-range-selector.dr-en > .select2,
	.egyedi-nezet .date-range-selector.dr-en > select,
	.egyedi-nezet .date-range-selector.dr-en > input
	{
		margin: 0 0 5px 0;
		width: 100% !important;
	}
	.egyedi-nezet .date-range-selector.dr-en > input:last-child
	{
		margin: 0 0 5px 0;
	}
}